Hi, John Youn <johnyoun@xxxxxxxxxxxx> writes: > From: Vahram Aharonyan <vahrama@xxxxxxxxxxxx> > > Update endpoint related register descriptions to add DOEPMSK_BNAMSK. > > Add BNA interrupt's unmasking during gadget initalization if descriptor what does BNA stand for? > DMA mode is selected. > > Signed-off-by: Vahram Aharonyan <vahrama@xxxxxxxxxxxx> > Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx> > --- > drivers/usb/dwc2/gadget.c | 7 +++++++ > drivers/usb/dwc2/hw.h | 1 + > 2 files changed, 8 insertions(+) > > diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c > index 4013518..3ab4d60 100644 > --- a/drivers/usb/dwc2/gadget.c > +++ b/drivers/usb/dwc2/gadget.c > @@ -2316,6 +2316,9 @@ static void dwc2_hsotg_epint(struct dwc2_hsotg *hsotg, unsigned int idx, > if (ints & DXEPINT_BACK2BACKSETUP) > dev_dbg(hsotg->dev, "%s: B2BSetup/INEPNakEff\n", __func__); > > + if (ints & DXEPINT_BNAINTR) > + dev_dbg(hsotg->dev, "%s: BNA interrupt\n", __func__); Why are you enabling interrupts *just* to print out a debugging message? Is it really worth the CPU time? -- balbi
Attachment:
signature.asc
Description: PGP signature