From: Neil Zhang Date: Wed, 30 Nov 2011 01:57:16 +0000 (+0800) Subject: usb: gadget: mv_udc: refine suspend/resume function X-Git-Tag: v3.3-rc1~153^2~28^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5076ae5588e53da32fef697f604fec33fe5fada0;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed