]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: usb: disable COMMONONN for dual mode
authorJustin Chen <justin.chen@broadcom.com>
Thu, 10 Oct 2024 18:53:44 +0000 (11:53 -0700)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Oct 2024 08:26:25 +0000 (13:56 +0530)
commit1e48fd0574ee697e87f9c9bbd64d9a121d271f7a
tree017b3bdadf67711b957a45c1c709af4f545a55cf
parent2d0f973b5f1c369671d0c59e103d15f4f6f775c9
phy: usb: disable COMMONONN for dual mode

The COMMONONN bit suspends the phy when the port is put into a suspend
state. However when the phy is shared between host and device in dual
mode, this no longer works cleanly as there is no synchronization between
the two.

Fixes: 5095d045a962 ("phy: usb: Turn off phy when port is in suspend")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20241010185344.859865-1-justin.chen@broadcom.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c