]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00179679 Fix usb gadget suspend issue connected to usb charger
authorTony LIU <junjie.liu@freescale.com>
Mon, 16 Apr 2012 07:47:23 +0000 (15:47 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:27 +0000 (08:34 +0200)
commite40272e2b5ec669aa332b53017968df1a480b3d7
treeb1f1088bfd66922003dd1e097b5d79d296e881c2
parent3929782ca4a534f181b9704629d288718c10e559
ENGR00179679 Fix usb gadget suspend issue connected to usb charger

- the root cause of this issue is during resume process, USB clock
 is not turned on for this USB charger case so that the second
 suspend is processed without USB clock, it cause system hang
- in udc resume process, at this situation, we should exit low
 power mode to enable the b session valid intrrupt to close the
 usb clock when detach from usb charger

Signed-off-by: Tony LIU <junjie.liu@freescale.com>
drivers/usb/gadget/arcotg_udc.c