]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00251209-5 usb: fix the system hang when unload gadget module
authorPeter Chen <peter.chen@freescale.com>
Mon, 4 Mar 2013 09:30:08 +0000 (17:30 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:55 +0000 (08:35 +0200)
commitb3f19862eb31d8930d6860708147c85e870850cc
tree66dc8ae25b3109f73b9265d5f0d97361c0bb0dc9
parent52011003871b4f8dd4ce79ab18804ad34e779f15
ENGR00251209-5 usb: fix the system hang when unload gadget module

- For gadget, the clock will be closed at platform code, so
the driver should not be close clock beforehand.
- For host, the PHY should not be low power mode when the host
controller has still possibilities to use. Besides, the 5v should
be off at last as some platform uses 5v for PHY's power.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/gadget/arcotg_udc.c
drivers/usb/host/ehci-arc.c