Re: [PATCH] arm: omap: usb: clock enable typo fix in usbhs driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Jul 19, 2011 at 07:41:43PM +0530, Keshava Munegowda wrote:
> From: Keshava Munegowda <Keshava_mgowda@xxxxxx>

$SUBJECT is quite weird. First, this is not a patch on arch/arm/*omap*/
so arm: omap: is already wrong. Also, "enable typo fix" is quite werid.

Something like: "mfd: omap-usb-host: fix clock API usage on
usbhs_disable()" would read better.

> The usbhs_disable function was invoking clk_enable api
> instead of clk_disable; The clk_disable is called to
                        ^ this semicolon should be a period.

ok, you're missing the actual problem here. How about you extend it to
read as:

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 that, the power domain where the USB Host subsystem is
located, would never reach lower power states.

> disble the port clocks of usbhs
    ^^ disable.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux