On Tue, Aug 14, 2012 at 12:15 AM, Pawel Moll <pawel.moll@xxxxxxx> wrote: > On Mon, 2012-08-13 at 16:47 +0100, Fabio Baltieri wrote: >> Delay execution of led_set_brightness() if need to stop soft-blink >> timer. >> >> This allows led_set_brightness to be called in hard-irq context even if >> soft-blink was activated on that LED. >> >> Signed-off-by: Fabio Baltieri <fabio.baltieri@xxxxxxxxx> >> Cc: Pawel Moll <pawel.moll@xxxxxxx> >> Cc: Bryan Wu <bryan.wu@xxxxxxxxxxxxx> > > I've just tried it on my setup and see nothing wrong going on (at least > at the first sight ;-), so: > > Tested-by: Pawel Moll <pawel.moll@xxxxxxx> > > Cheers! > Fabio, thanks for this beautiful solution, do we need any cleanup for this workqueue? I maybe worry too much. Pawel, thanks for the testing. I've already merged this into my for-next branch. Cheers, -- Bryan Wu <bryan.wu@xxxxxxxxxxxxx> Kernel Developer +86.186-168-78255 Mobile Canonical Ltd. www.canonical.com Ubuntu - Linux for human beings | www.ubuntu.com -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html