diff options
Diffstat (limited to 'driver/usb_switch_pi3usb9281.c')
-rw-r--r-- | driver/usb_switch_pi3usb9281.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/usb_switch_pi3usb9281.c b/driver/usb_switch_pi3usb9281.c index 215ee124a5..fd7eecd4d4 100644 --- a/driver/usb_switch_pi3usb9281.c +++ b/driver/usb_switch_pi3usb9281.c @@ -204,7 +204,8 @@ static void pi3usb9281_init(void) for (i = 0; i < PI3USB9281_COUNT; i++) { dev_id = pi3usb9281_read(i, PI3USB9281_REG_DEV_ID); - if (dev_id != 0x10) + if (dev_id != PI3USB9281_DEV_ID && + dev_id != PI3USB9281_DEV_ID_A) CPRINTS("PI3USB9281[%d] invalid ID 0x%02x", i, dev_id); } } |