Messages in this thread | | | Date | Thu, 05 Feb 2015 21:04:38 +0300 | From | Sergei Shtylyov <> | Subject | Re: [PATCH] usb: dwc2: Register interrupt handler only once gadget is correctly initialized |
| |
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@gmail.com>
[...]
WBR, Sergei
| |