usb: host: ehci-msm: Drop redundant EHCI register writes
authorStephan Gerhold <stephan.gerhold@linaro.org>
Mon, 7 Apr 2025 09:54:25 +0000 (11:54 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 30 Oct 2025 17:04:51 +0000 (11:04 -0600)
commitf5ff016b44902591520f020c77fd08e8de6fc412
tree5cc455719003c4463a62046c8a3519a218a16f09
parentc45a043d8a0e1589b09ce4d630b9d6bf41cb6755
usb: host: ehci-msm: Drop redundant EHCI register writes

ehci_unregister() already clears the CMD_RUN bit with more careful checks.
It also ensures that we only do this in case we were actually in USB host
(rather than USB device) mode. It's not clear what the extra register
writes in the Qualcomm-specific ehci-msm driver are supposed to do, so just
drop them.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Acked-by: Caleb Connolly <caleb.connolly@linaro.org>
Tested-by: Sam Day <me@samcday.com>
Link: https://patch.msgid.link/20250407-ehci-msm-fixes-v1-5-f8b30eb05d07@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/usb/host/ehci-msm.c