Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1229435
| From | Jacek Anaszewski <j.anaszewski@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/5] LED flash: Set brightness in a sync way on demand |
| Date | 2015-09-21 16:40 +0200 |
| Message-ID | <qbaq5-Zi-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Since it has become apparent that user should decide whether brightness is to be set in a synchronous or an asynchronousi way, export internal led_set_brightness_sync API and remove SET_BRIGHTNESS_SYNC and SET_BRIGHTNESS_ASYNC flags from the LED core. After patch set [1] flash LED drivers don't longer have to implement brightness_set op and use work queues internally. Remove the redundant code from them. Thanks, Jacek Anaszewski [1] https://lkml.org/lkml/2015/9/16/299 Jacek Anaszewski (5): leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting Documentation: leds: Add description of brightness setting API leds: max77693: Remove work queue leds: aat1290: Remove work queue leds: ktd2692: Remove work queue Documentation/leds/leds-class.txt | 21 ++++++++++++++ drivers/leds/led-class-flash.c | 4 --- drivers/leds/led-class.c | 2 -- drivers/leds/led-core.c | 33 ++++++++++++--------- drivers/leds/leds-aat1290.c | 50 +++++++++----------------------- drivers/leds/leds-ktd2692.c | 41 ++++---------------------- drivers/leds/leds-max77693.c | 57 ++++++------------------------------- drivers/leds/leds.h | 13 --------- include/linux/leds.h | 19 +++++++++++-- 9 files changed, 84 insertions(+), 156 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/5] LED flash: Set brightness in a sync way on demand Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-09-21 16:40 +0200
[PATCH 1/5] leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-09-21 16:40 +0200
Re: [PATCH 1/5] leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting Sakari Ailus <sakari.ailus@linux.intel.com> - 2015-09-22 08:50 +0200
Re: [PATCH 1/5] leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-09-22 09:20 +0200
[PATCH 3/5] leds: max77693: Remove work queue Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-09-21 16:40 +0200
csiph-web