mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
UPSTREAM: usb: dwc2: gadget: Corrected field names
No-op change. Changed field names to prevent misunderstanding.
Change-Id: I16d6c510a8efb88c12e2205a23d838e23012ed97
Tested-by: John Keeping <john@metanate.com>
Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 26ddef5da6)
This commit is contained in:
committed by
Huang, Tao
parent
c31fe3bb2e
commit
d0e9fbb5e2
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user