From: Vardan Mikayelyan Date: Thu, 26 May 2016 01:07:00 +0000 (-0700) Subject: UPSTREAM: usb: dwc2: gadget: Corrected field names X-Git-Tag: firefly_0821_release~848 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0e9fbb5e24cefb8d53f11caf07f01e30cbc427f;p=firefly-linux-kernel-4.4.55.git UPSTREAM: usb: dwc2: gadget: Corrected field names No-op change. Changed field names to prevent misunderstanding. Change-Id: I16d6c510a8efb88c12e2205a23d838e23012ed97 Tested-by: John Keeping Signed-off-by: Vardan Mikayelyan Signed-off-by: John Youn Signed-off-by: Felipe Balbi Signed-off-by: Huang, Tao (cherry picked from commit 26ddef5da62993fb9189a822d3545fc00451d242) --- diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 1487968f590c..71681727c66d 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -2037,20 +2037,20 @@ static void dwc2_hsotg_epint(struct dwc2_hsotg *hsotg, unsigned int idx, if (dir_in && !hs_ep->isochronous) { /* not sure if this is important, but we'll clear it anyway */ - if (ints & DIEPMSK_INTKNTXFEMPMSK) { + if (ints & DXEPINT_INTKNTXFEMP) { dev_dbg(hsotg->dev, "%s: ep%d: INTknTXFEmpMsk\n", __func__, idx); } /* this probably means something bad is happening */ - if (ints & DIEPMSK_INTKNEPMISMSK) { + if (ints & DXEPINT_INTKNEPMIS) { dev_warn(hsotg->dev, "%s: ep%d: INTknEP\n", __func__, idx); } /* FIFO has space or is empty (see GAHBCFG) */ if (hsotg->dedicated_fifos && - ints & DIEPMSK_TXFIFOEMPTY) { + ints & DXEPINT_TXFEMP) { dev_dbg(hsotg->dev, "%s: ep%d: TxFIFOEmpty\n", __func__, idx); if (!using_dma(hsotg))