]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: dwc3-am62: Disable wakeup at remove
authorRoger Quadros <rogerq@kernel.org>
Tue, 27 Feb 2024 09:23:49 +0000 (11:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:25 +0000 (15:28 +0200)
commit1846bd4fc1bbddb748bb1dbacc81861a2a8f8bd0
tree506a196f05f263dc2ac8866ce144c4272ea3433b
parent7dfed9855397d0df4c6f748d1f66547ab3bad766
usb: dwc3-am62: Disable wakeup at remove

[ Upstream commit 4ead695e6b3cac06543d7bc7241ab75aee4ea6a6 ]

Disable wakeup at remove.
Fixes the below warnings on module unload and reload.

> dwc3-am62 f900000.dwc3-usb: couldn't enable device as a wakeup source: -17
> dwc3-am62 f910000.dwc3-usb: couldn't enable device as a wakeup source: -17

Fixes: 4e3972b589da ("usb: dwc3-am62: Enable as a wakeup source by default")
Cc: stable@vger.kernel.org # v6.4+
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20240227-for-v6-9-am62-usb-errata-3-0-v4-2-0ada8ddb0767@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/dwc3/dwc3-am62.c