Message ID | 20141001212910.GE9598@type.youpi.perso.aquilenet.fr (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello, I would like to ask if something was changed and if this patch (in any way) is going to mainline kernel.
Pali Rohár, le Sun 12 Oct 2014 16:52:08 +0200, a écrit : > I would like to ask if something was changed and if this patch > (in any way) is going to mainline kernel. Well, the latest news I got from Dmity was on 12 Apr 2014, to which I answered, and never got more news since then. I'm indeed starting to wonder whether it'll ever get applied at all, after the several years it has been waiting. It's no use trying to contribute to free software if review/discussion etc. doesn't happen. Samuel
On Thursday 16 October 2014 01:15:45 Samuel Thibault wrote: > Pali Rohár, le Sun 12 Oct 2014 16:52:08 +0200, a écrit : > > I would like to ask if something was changed and if this > > patch (in any way) is going to mainline kernel. > > Well, the latest news I got from Dmity was on 12 Apr 2014, to > which I answered, and never got more news since then. I'm > indeed starting to wonder whether it'll ever get applied at > all, after the several years it has been waiting. It's no > use trying to contribute to free software if > review/discussion etc. doesn't happen. > > Samuel Dmitry, ping! https://lkml.org/lkml/2014/4/16/725 There are more people who would like to see this patch in mainline kernel and we are waiting for you.
On Thursday 16 October 2014 01:29:21 Pali Rohár wrote: > On Thursday 16 October 2014 01:15:45 Samuel Thibault wrote: > > Pali Rohár, le Sun 12 Oct 2014 16:52:08 +0200, a écrit : > > > I would like to ask if something was changed and if this > > > patch (in any way) is going to mainline kernel. > > > > Well, the latest news I got from Dmity was on 12 Apr 2014, > > to which I answered, and never got more news since then. > > I'm indeed starting to wonder whether it'll ever get > > applied at all, after the several years it has been > > waiting. It's no use trying to contribute to free software > > if > > review/discussion etc. doesn't happen. > > > > Samuel > > Dmitry, ping! > https://lkml.org/lkml/2014/4/16/725 > > There are more people who would like to see this patch in > mainline kernel and we are waiting for you. Dmitry: ping! I would like you to remind you this patch which is waiting for your review since April 2014!
>>>>> "Pali" == Pali Rohár <pali.rohar@gmail.com> writes: Hi, >> There are more people who would like to see this patch in >> mainline kernel and we are waiting for you. > Dmitry: ping! > I would like you to remind you this patch which is waiting for > your review since April 2014! Hah, I'm pretty sure it dates back to 2010 atleast.
Peter Korsgaard, le Tue 09 Dec 2014 21:22:03 +0100, a écrit : > > I would like you to remind you this patch which is waiting for > > your review since April 2014! > > Hah, I'm pretty sure it dates back to 2010 atleast. Yes, the first version was posted on February 2010. There has been some reviews, and thus a few versions, I've just posted a 4th version which has been sitting in -mm for some time now. Samuel
--- a/drivers/input/leds.c +++ b/drivers/input/leds.c @@ -100,13 +100,24 @@ static unsigned long vt_led_registered[B /* Number of input devices having each LED */ static int vt_led_references[LED_CNT]; +static int vt_led_state[LED_CNT]; +static struct work_struct vt_led_work[LED_CNT]; + +static void vt_led_cb(struct work_struct *work) +{ + int led = work - vt_led_work; + + led_trigger_event(&vt_led_triggers[led], vt_led_state[led]); +} + /* VT LED state change, tell the VT trigger. */ static void vt_led_set(struct led_classdev *cdev, enum led_brightness brightness) { int led = cdev - vt_leds; - led_trigger_event(&vt_led_triggers[led], !!brightness); + vt_led_state[led] = !!brightness; + schedule_work(&vt_led_work[led]); } /* LED state change for some keyboard, notify that keyboard. */ @@ -244,6 +255,22 @@ void input_led_disconnect(struct input_d mutex_unlock(&vt_led_registered_lock); } +static int __init input_led_init(void) +{ + unsigned i; + + for (i = 0; i < LED_CNT; i++) + INIT_WORK(&vt_led_work[i], vt_led_cb); + + return 0; +} + +static void __exit input_led_exit(void) +{ +} + MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("User LED support for input layer"); MODULE_AUTHOR("Samuel Thibault <samuel.thibault@ens-lyon.org>"); +module_init(input_led_init); +module_exit(input_led_exit);