summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/usb_dr.c
diff options
context:
space:
mode:
authormake shi <b15407@freescale.com>2012-11-29 16:28:25 +0800
committerLin Fuzhen <fuzhen.lin@freescale.com>2012-12-06 10:45:23 +0800
commit863ad6d5b0dec332fc834f56d06ff5e734f0d894 (patch)
treefe70663cf50e7ccacf5051d31817647b5212f40d /arch/arm/mach-mx6/usb_dr.c
parent618b1228fb1370327a96c9519285d04a241400fa (diff)
ENGR00234722 USB: fix Kernel dump issue after USB driver loadable
- It is better to disable otgsc and wake up interrupt to avoid an abnormal interrupt happen during USB driver being removed. - If the USB host is already at low power mode, only need turn on the clock, no need turn off the clock. - Need discharge dp and dm during USB driver being removed ,in order to avoid a wakeup interrupt happen. And if the USB otg is in host mode, we should clear discharge dp and dm in fsl_otg_set_host() during system boot up. Signed-off-by: make shi <b15407@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/usb_dr.c')
0 files changed, 0 insertions, 0 deletions