]> www.infradead.org Git - users/willy/linux.git/commit
usb: phy: mxs: enable weak 1p1 regulator for imx6ul during suspend
authorXu Yang <xu.yang_2@nxp.com>
Fri, 26 Jul 2024 11:32:06 +0000 (19:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Aug 2024 08:32:26 +0000 (10:32 +0200)
commit2919d888794ec25ae0af79c7ed7f5d48fe4d698f
tree1a22419a08ebf12e5d72cfc5ddb0d9eca624f0a9
parentc99b27ef83f4bfd8c191ce914ab605c7e3cc077b
usb: phy: mxs: enable weak 1p1 regulator for imx6ul during suspend

1p1 is off when the system enters suspend at i.MX6UL. It cause the PHY
get wrong USB DP/DM value, then unexpected wakeup may occur if USB wakeup
enabled. This will enable weak 1p1 during PHY suspend if vbus exist. So
USB DP/DM is correct when system suspend.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240726113207.3393247-5-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-mxs-usb.c