Skip to content

Commit 74c76fb

Browse files
popcornmixpelwell
authored andcommitted
usb: dwc3: Fixup downstream for add of dwc pointer to dwc3_readl/writel
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
1 parent 26af6d8 commit 74c76fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/usb/dwc3/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ int dwc3_core_init(struct dwc3 *dwc)
15721572
u8 tx_maxburst = dwc->tx_max_burst_prd;
15731573

15741574
if (tx_thr_num && tx_maxburst) {
1575-
reg = dwc3_readl(dwc->regs, DWC3_GTXTHRCFG);
1575+
reg = dwc3_readl(dwc, DWC3_GTXTHRCFG);
15761576
reg |= DWC3_GTXTHRCFG_PKTCNTSEL;
15771577

15781578
reg &= ~DWC3_GTXTHRCFG_TXPKTCNT(~0);
@@ -1581,7 +1581,7 @@ int dwc3_core_init(struct dwc3 *dwc)
15811581
reg &= ~DWC3_GTXTHRCFG_MAXTXBURSTSIZE(~0);
15821582
reg |= DWC3_GTXTHRCFG_MAXTXBURSTSIZE(tx_maxburst);
15831583

1584-
dwc3_writel(dwc->regs, DWC3_GTXTHRCFG, reg);
1584+
dwc3_writel(dwc, DWC3_GTXTHRCFG, reg);
15851585
}
15861586
}
15871587

0 commit comments

Comments
 (0)