diff options
author | 2023-08-04 19:00:05 +0800 | |
---|---|---|
committer | 2023-08-04 14:46:24 +0200 | |
commit | 4f4bda58c5aef66493f9878463c3f28502653067 (patch) | |
tree | 765b99f9fffe21e32bba8d68eaa7655c3430a413 /drivers/usb/misc | |
parent | usb: typec: tcpci_mt6370: remove redundant dev_err_probe() (diff) | |
download | linux-4f4bda58c5aef66493f9878463c3f28502653067.tar.gz linux-4f4bda58c5aef66493f9878463c3f28502653067.tar.bz2 linux-4f4bda58c5aef66493f9878463c3f28502653067.zip |
usb: gadget: udc: gr_udc: Fix deferred probing
When platform_get_irq() fails, it may return -EPROBE_DEFER, which
suggested deferred probing, it is very important to propagate it
upstream. We cannot override it with other error code.
Commit ce753ad1549c ("platform: finally disallow IRQ0 in
platform_get_irq() and its ilk") makes sure IRQ0 is not returned.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
Link: https://lore.kernel.org/r/20230804110005.97061-1-wangzhu9@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions