Skip to content

Commit 508bbdf

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 f67a9d1 commit 508bbdf

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
@@ -1552,7 +1552,7 @@ int dwc3_core_init(struct dwc3 *dwc)
15521552
u8 tx_maxburst = dwc->tx_max_burst_prd;
15531553

15541554
if (tx_thr_num && tx_maxburst) {
1555-
reg = dwc3_readl(dwc->regs, DWC3_GTXTHRCFG);
1555+
reg = dwc3_readl(dwc, DWC3_GTXTHRCFG);
15561556
reg |= DWC3_GTXTHRCFG_PKTCNTSEL;
15571557

15581558
reg &= ~DWC3_GTXTHRCFG_TXPKTCNT(~0);
@@ -1561,7 +1561,7 @@ int dwc3_core_init(struct dwc3 *dwc)
15611561
reg &= ~DWC3_GTXTHRCFG_MAXTXBURSTSIZE(~0);
15621562
reg |= DWC3_GTXTHRCFG_MAXTXBURSTSIZE(tx_maxburst);
15631563

1564-
dwc3_writel(dwc->regs, DWC3_GTXTHRCFG, reg);
1564+
dwc3_writel(dwc, DWC3_GTXTHRCFG, reg);
15651565
}
15661566
}
15671567

0 commit comments

Comments
 (0)