]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: dwc3: Add dwc pointer to dwc3_readl/writel
authorPrashanth K <prashanth.k@oss.qualcomm.com>
Wed, 14 Jan 2026 10:07:47 +0000 (15:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 12:47:07 +0000 (13:47 +0100)
commit9accc68b1cf0a2b220f51d53641128bb32598070
tree18dc92f0636caa25d01ebaf33165d84a0cf539d9
parentabdd1eef04f0cb3b1707cd1fa243d574d5e07024
usb: dwc3: Add dwc pointer to dwc3_readl/writel

Use dwc pointer in dwc3_readl() dwc3_writel() instead of passing
the dwc->regs. This would help us access the dwc structure and
log the base address in traces. There's no functional changes in
this patch, just refactoring existing APIs.

Signed-off-by: Prashanth K <prashanth.k@oss.qualcomm.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://patch.msgid.link/20260114100748.2950103-3-prashanth.k@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/debugfs.c
drivers/usb/dwc3/drd.c
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/gadget.h
drivers/usb/dwc3/io.h
drivers/usb/dwc3/ulpi.c