usb: cdns3: gadget: assign interrupt number to USB gadget structure

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>
This commit is contained in:
Peter Chen 2020-05-10 13:30:42 +08:00 committed by Felipe Balbi
parent 3c73bc5219
commit 77f30ff497
1 changed files with 1 additions and 0 deletions

View File

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