]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00251209-6 msl-mx6: usb: keep the phy lower flag as true defaultly
authorPeter Chen <peter.chen@freescale.com>
Mon, 4 Mar 2013 09:35:02 +0000 (17:35 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:55 +0000 (08:35 +0200)
commit49ebf810ecc202d6b4a51cd4a8479daf9db2010b
tree77f06bafeab89faf9bd3a91b0f4148e4575461a2
parentb3f19862eb31d8930d6860708147c85e870850cc
ENGR00251209-6 msl-mx6: usb: keep the phy lower flag as true defaultly

Keep the phy lower flag as true defaultly, the driver should mark
it as false when the driver begins to use PHY.
This fixes one bug that when build both host and gadget as loadable
modules, the phy lower flag is false if the related module is not
loaded, then, the wakeup interrupt will not be treated as happened
if host module is loaded, but gadget is not loaded, or vice verse.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
arch/arm/mach-mx6/usb_dr.c