commit | 5076ae5588e53da32fef697f604fec33fe5fada0 | [log] [tgz] |
---|---|---|
author | Neil Zhang <zhangwm@marvell.com> | Wed Nov 30 09:57:16 2011 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Mon Dec 12 11:45:24 2011 +0200 |
tree | 2d6024f3bf035f86f89e3afac80a1c5bee93d714 | |
parent | 85ff7bfb6e260d7cc6d675941f5569c9b7ad6b44 [diff] |
usb: gadget: mv_udc: refine suspend/resume function This patch impletments system suspend/resume functions for Marvell otg controller. If OTG is enabled, OTG driver will do most of the work. If not, we will check clock gating. If clock gating is enabled, the UDC will be start/stop automatically. If not, UDC will be start/stop in suspend/resume functions. Signed-off-by: Neil Zhang <zhangwm@marvell.com> Signed-off-by: Felipe Balbi <balbi@ti.com>