usb: dwc3: exynos: add basic suspend/resume support
authorVikas Sajjan <vikas.sajjan@linaro.org>
Tue, 16 Oct 2012 09:45:38 +0000 (15:15 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:03 +0000 (11:17 +0200)
commit0646caf754aa3ce55ef978d7f4a3e3d0aab7a187
tree8e6ffd401266aeba46624f219af93c8c98e79ed6
parentf3e117f4437af5a2d1b72ae0fa1890dbf9bca72f
usb: dwc3: exynos: add basic suspend/resume support

Adds suspend and resume callbacks to exynos dwc3 driver as part of
power management support.

This change does gating of dwc3 clock during suspend/resume cycles.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Vikas C Sajjan <vikas.sajjan@linaro.org>
CC: Doug Anderson <dianders@chromium.org>
Tested-by: Vivek Gautam <gautam.vivek@samsung.com>
[ balbi@ti.com : refreshed to current linus/master ]

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-exynos.c