]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: host: ohci-platform: Call reset assert/deassert on suspend/resume
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Thu, 6 Nov 2025 14:36:24 +0000 (16:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2025 14:11:22 +0000 (15:11 +0100)
commite4d9da32bf6059cb485caac4c9c0a2e36cdd5573
treea18801dfb07b241ae668d5d77c495e6bcf2fb9f2
parentc31a401fe7abedabb5c05b5cbf36e2fdb3e6be63
usb: host: ohci-platform: Call reset assert/deassert on suspend/resume

The Renesas RZ/G3S SoC supports a power-saving mode in which power to most
of the SoC components is turned off, including the USB blocks. On the
resume path, the reset signal must be de-asserted before applying any
settings to the USB registers. To handle this properly, call
reset_control_assert() and reset_control_deassert() during suspend and
resume, respectively.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20251106143625.3050119-4-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-platform.c