usb: cdns3: gadget: assign interrupt number to USB gadget structure
authorPeter Chen <peter.chen@nxp.com>
Sun, 10 May 2020 05:30:42 +0000 (13:30 +0800)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:43 +0000 (11:09 +0300)
Assign interrupt number to USB gadget structure.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/gadget.c

index 4f37bde..2db335f 100644 (file)
@@ -3069,6 +3069,7 @@ static int cdns3_gadget_start(struct cdns3 *cdns)
        priv_dev->gadget.name = "usb-ss-gadget";
        priv_dev->gadget.sg_supported = 1;
        priv_dev->gadget.quirk_avoids_skb_reserve = 1;
+       priv_dev->gadget.irq = cdns->dev_irq;
 
        spin_lock_init(&priv_dev->lock);
        INIT_WORK(&priv_dev->pending_status_wq,