Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions drivers/fet_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ static int identify_new(struct fet_device *dev, const char *force_id)
ramSize / 1024);

show_dev_info(r->name, dev);
/* populate chip entry based on the detected name */
dev->base.chip = chipinfo_find_by_name(r->name);

if (fet_proto_xfer(&dev->proto, C_IDENT3,
r->msg2b_data, r->msg2b_len, 0) < 0)
Expand Down Expand Up @@ -344,6 +346,8 @@ static int identify_olimex(struct fet_device *dev, const char *force_id)
ramSize, ramSize / 1024);

show_dev_info(r->name, dev);
/* populate chip entry based on the detected name */
dev->base.chip = chipinfo_find_by_name(r->name);

if (fet_proto_xfer(&dev->proto, C_IDENT3,
r->msg2b_data, r->msg2b_len, 0) < 0)
Expand Down