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:
parent
3c73bc5219
commit
77f30ff497
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue