mfd: Fix the omap-usb-host clock API usage on usbhs_disable()
authorKeshava Munegowda <Keshava_mgowda@ti.com>
Fri, 22 Jul 2011 13:09:30 +0000 (18:39 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 31 Jul 2011 21:28:27 +0000 (23:28 +0200)
commite2e49d57194c1c3cee078a249e854a4c1d57170d
treedd796fea40e45b3e52d8be934d6057d5b5db3c2f
parentccd80c7142ba178f5395fe69244e6c4611100511
mfd: Fix the omap-usb-host clock API usage on usbhs_disable()

usbhs_disable function was invoking clk_enable() instead of
clk_disable(), thus only increasing the clock usage counter and
preventing this particular clock from being ever turned off.
Because of this, the power domain of omap4 the USB Host subsystem
would never reach lower power states.This patch calls clk_disable()
in usbhs_disable function

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/omap-usb-host.c