]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b3ae25cb203be8b9dde2e364f12a7b92004fc4a
treedd796fea40e45b3e52d8be934d6057d5b5db3c2f
parente0f700d2426ef0defb1dc5e5cd2f640ceed39fd3
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