* [PATCH v3 1/1] usb: storage: continue probe on "Invalid device"
@ 2022-11-04 7:38 Janne Grunau
2022-11-04 11:23 ` Marek Vasut
0 siblings, 1 reply; 2+ messages in thread
From: Janne Grunau @ 2022-11-04 7:38 UTC (permalink / raw)
To: u-boot; +Cc: AKASHI Takahiro, Simon Glass, Marek Vasut
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/usb_storage.c b/common/usb_storage.c
index eaa31374ef73..f9204552a683 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -239,6 +239,7 @@ static int usb_stor_probe_device(struct usb_device *udev)
ret = device_unbind(dev);
if (ret)
return ret;
+ continue;
}
ret = blk_probe_or_unbind(dev);
--
2.37.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3 1/1] usb: storage: continue probe on "Invalid device"
2022-11-04 7:38 [PATCH v3 1/1] usb: storage: continue probe on "Invalid device" Janne Grunau
@ 2022-11-04 11:23 ` Marek Vasut
0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2022-11-04 11:23 UTC (permalink / raw)
To: Janne Grunau, u-boot; +Cc: AKASHI Takahiro, Simon Glass
On 11/4/22 08:38, Janne Grunau wrote:
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-04 11:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 7:38 [PATCH v3 1/1] usb: storage: continue probe on "Invalid device" Janne Grunau
2022-11-04 11:23 ` Marek Vasut
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.