lkml.org 
[lkml]   [2014]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] leds: make led_blink_set IRQ safe
Date
Hugh,

Here's a patch which must fix your problem. It allows to call led_blink_set()
from on IRQ handler by adding a work to take care of the scheduling function
cancel_delayed_work_sync().

Regards,
Vincent.

Vincent Donnefort (1):
leds: make led_blink_set IRQ safe

drivers/leds/led-class.c | 19 +++++++++++++++++++
drivers/leds/led-core.c | 16 +---------------
include/linux/leds.h | 1 +
3 files changed, 21 insertions(+), 15 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2014-08-19 15:21    [W:1.095 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site