[RFC,PATCH 1/2] Add a common struct clk

Jeremy Kerr jeremy.kerr at canonical.com
Thu Jun 3 21:40:48 EDT 2010


Hi Russell,

> Or to put it another way, the above method results in clk_enable()
> sometimes returning with the clock enabled and sometimes with the
> clock still disabled.
> 
> That's not nice behaviour for drivers which may need the clock enabled
> to read/write the device registers.

OK, I'll rework with proper locking to ensure that the clock is 
enabled/disabled on return from clk_enable.

Cheers,


Jeremy



More information about the linux-arm-kernel mailing list