]> 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)
commitc5e87c2b1dae818c819bfb7e8d30786b8c9834f3
treedd796fea40e45b3e52d8be934d6057d5b5db3c2f
parentc7b9cc3164838b2dcb1df9106f99ebb4fac140cd
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