MX28: leds/pwm: Using pwm driven led as heartbeat leads to kernel warning

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Apr 8 01:41:50 PDT 2014


On 08/04/2014 at 16:18:49 +0800, Shawn Guo wrote :
> On Tue, Apr 08, 2014 at 09:59:16AM +0200, Alexandre Belloni wrote:
> > The driver using the PWM should test the flag, have a look at:
> > http://lxr.free-electrons.com/source/drivers/leds/leds-pwm.c#L183
> 
> Ah, right, that' how the flag works.  Thanks, Alexandre.  I send a patch
> to set the flag for pwm-mxs driver shortly.
> 

Actually, I had a closer look and I believe using clk_prepare_enable()
in .config is wrong. Let me prepare a patch.


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list