]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: storage: continue probe on "Invalid device"
authorJanne Grunau <j@jannau.net>
Fri, 4 Nov 2022 07:38:59 +0000 (08:38 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 4 Nov 2022 11:22:45 +0000 (12:22 +0100)
commit04448899de702321c018d0c4be2f6cc1d2f06760
tree5b558b2250b2ef7027bb8a520c59a73de955367f
parent3406e9d8afcc8ade8cb3e697be2bcf9cc85c9d04
usb: storage: continue probe on "Invalid device"

Fixes a crash during probing of sd card readers without medium present.
Seen with the device below but reported for many other devices.

  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x0326 Card reader
  bcdDevice           11.24
  iManufacturer           1 Realtek
  iProduct                2 USB3.0 Card Reader
  iSerial                 3 201404081410

Link: https://github.com/AsahiLinux/linux/issues/44
Link: https://lists.denx.de/pipermail/u-boot/2022-July/489717.html
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
common/usb_storage.c