diff options
author | Peter Chen | 2020-05-10 13:30:42 +0800 |
---|---|---|
committer | Felipe Balbi | 2020-05-25 11:09:43 +0300 |
commit | 77f30ff49761acbb3d90aca0004f393fd81b63a8 (patch) | |
tree | 5fcf1b568c153b9bfb42c2d6c193bfe2c180a45a /drivers/usb | |
parent | 3c73bc52195def14165c3a7d91bdbb33b51725f5 (diff) |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/cdns3/gadget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index 4f37bdec12aa..2db335f783d1 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -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, |