]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: mxs: Disable external charger detect in mxs_phy_hw_init()
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 29 May 2019 06:59:48 +0000 (23:59 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 6 Jun 2019 10:51:57 +0000 (13:51 +0300)
commit66d1896f58f71a4244f5e083395c7ba6e8f0b66f
tree25344dc8476e93cd171529ce83d688b946ac134d
parenta6e0786b7e4202ab6552f3996ef8a9bd8b39af80
usb: phy: mxs: Disable external charger detect in mxs_phy_hw_init()

Since this driver already handles changer detction state, copy the
workaround code currently residing in arch/arm/mach-imx/anatop.c into
this drier to consolidate the places modifying it.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: linux-usb@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-mxs-usb.c