30.06.2015 16:55, Jacek Anaszewski пишет: > V2 includes also patches for one LED class driver > and two LED flash class drivers, that show how the > drivers will benefit from the optimization being > introduced in the first patch of this patch set. > > I was able to test only the LED Flash class drivers. > > Original message from the patch 483a3122 ("leds: Use set_brightness_work for > brightness_set ops that can sleep") that was sent previously as a single one: > > Hi All, > > Since this patch will affect all the LED subsystem drivers > I'd like it was tested by as many developers as possible > to make sure that I haven't missed something. > > For the drivers which can sleep in their brightness_set ops > (e.g. use mutex or gpio "cansleep" API) you only need to > remove the work queues and move the code executed currently > in the work queue task to the brightness_set op, as now > LED core does the job. > > For drivers that are capable of setting brightness with use > of MMIO you need to set the LED_BRIGHTNESS_FAST flag, so > that LED core would know that it doesn't have to employ > work queue. > > After the patch is positively verified I will create relevant > patches for every LED class driver. > > This patch is based on linux-next_20150622. > > I am looking forward to your cooperation. FYI I ported my soft-pwm patches to yours and that seems to work fine. So I am looking forward for this being applied, then I'll post them again. Acked-by: Stas Sergeev <stsp@xxxxxxxxxxxxxxxxxxxxx> -- 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