Re: [PATCH v2] usb: dwc3: host: remove dead code in dwc3_host_get_irq()

From: Oliver Neukum
Date: Thu Mar 23 2023 - 11:38:38 EST




On 23.03.23 15:06, Dan Carpenter wrote:

irq != 0

You've reversed this if statement in your head. It says that if
platform_get_irq() returns zero, then return -EINVAL.


Argh. You are right.

Sorry
Oliver