[PATCH] usb: dwc2: Register interrupt handler only once gadget is correctly initialized

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Thu Feb 5 10:04:38 PST 2015


Hello.

On 02/05/2015 08:47 PM, Romain Perier wrote:

> Don't register interrupt handler becore usb gadget is correctly initialized.

    s/becore/before/?

> For some embedded platforms which don't have a usb-phy it crashes the driver
> because an interrupt is emitted with non-initiliazed hardware.

    s/non-initiliazed/non-initialized/.

> According to devm_request_irq documentation, an interrupt can be emitted
> at any time once the interrupt is registered, so we have to care about driver
> and hardware initialization.

> Signed-off-by: Romain Perier <romain.perier at gmail.com>

[...]

WBR, Sergei




More information about the Linux-rockchip mailing list