]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: dwc3: apple: Only support a single reset controller
authorSven Peter <sven@kernel.org>
Sun, 26 Oct 2025 12:21:36 +0000 (12:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2025 14:35:21 +0000 (15:35 +0100)
commit7915d513e22db3226bfc7d5428b6dd6faa3ce181
tree0e993db751bd7d09c5385c1f6538f3f4c0648e81
parentabf640a2436f3cd21f3d63eeccb332b4056adb9e
usb: dwc3: apple: Only support a single reset controller

As pointed out by Philipp, Apple's dwc3 controller only uses a single
reset line and there's thus no need to use reset controller array
functions. The only functional change here is replacing
devm_reset_control_array_get_exclusive with
devm_reset_control_get_exclusive. The rest are only cosmetic changes
to replace "resets" with "reset".

Reported-by: Philipp Zabel <p.zabel@pengutronix.de>
Closes: https://lore.kernel.org/asahi/47112ace39ea096242e68659d67a401e931abf3a.camel@pengutronix.de/
Fixes: 0ec946d32ef7 ("usb: dwc3: Add Apple Silicon DWC3 glue layer driver")
Signed-off-by: Sven Peter <sven@kernel.org>
Link: https://patch.msgid.link/20251026-b4-dwc3-apple-reset-array-fix-v1-1-ccdbacd63f78@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-apple.c