summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2013-02-18 18:41:14 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-02-18 22:40:33 +0400
commitefbe4eb85f3ed38dfd22b44502bf2ddc4394e4f0 (patch)
tree0ad5fb11c5d7f0fe62000edbe95b6895e7051bd5
parenta69944702cf671c0f6a2aa8273249601a95ab10c (diff)
MFD: omap-usb-host hack: replace clk_enable with clk_prepare_enable
..for aux_clk in usbhs_runtime_resume(). Otherwise clk_enable() fails with -ESHUTDOWN due to the clock not having been prepared. Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r--drivers/mfd/omap-usb-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 32703e4bcbda..0ddedc71f2fd 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -292,7 +292,7 @@ static int usbhs_runtime_resume(struct device *dev)
for (i = 0; i < omap->nports; i++) {
if (omap->port[i].aux_clk) {
- r = clk_enable(omap->port[i].aux_clk);
+ r = clk_prepare_enable(omap->port[i].aux_clk);
if (r) {
dev_err(dev,
"%s: Can't enable port %d aux clk %d\n",