Re: [PATCH 01/10] usb: gadget: udc: bcm63xx: fix deferred probing
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-10-26 21:34:30
Also in:
linux-arm-kernel
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-10-26 21:34:30
Also in:
linux-arm-kernel
On 10/21/21 12:14 PM, Sergey Shtylyov wrote:
The driver overrides the error codes returned by platform_get_irq() to
-ENXIO for some strange reason, so if it returns -EPROBE_DEFER, the driver
will fail the probe permanently instead of the deferred probing. Switch to
propagating the error codes upstream.
Fixes: 613065e53cb1 ("usb: gadget: bcm63xx UDC driver")
Signed-off-by: Sergey Shtylyov <redacted>Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Not that this is going to happen for this particular driver on the platform where it is use MIPS BCM63XX but this is still the right thing to do anyway. -- Florian