Question:Leds handling in drivers
From: Bryan Wu <hidden>
Date: 2012-03-27 08:19:01
Russell, I'm still working on the LEDS consolidation stuff and try to convert the old style to LED CPU trigger driver [1]. But in drivers/char/nwflash.c: --- $ grep leds_event drivers/char/nwflash.c leds_event(led_claim); leds_event(led_green_on); leds_event(led_release); leds_event(led_amber_on); leds_event(led_amber_off); leds_event(led_red_on); leds_event(led_amber_off); leds_event(led_red_on); leds_event(led_amber_off); leds_event(led_green_on); --- It looks like very difficult to fit this in LEDS CPU trigger driver, looks like an new LEDS trigger driver to indicate FLASH reading/writing/verifying activities. How do you think of this? Any suggestion? [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/088639.html Thanks, -- Bryan Wu [off-list ref] Kernel Developer ? ?+86.138-1617-6545 Mobile Canonical Ltd. ? ? ?www.canonical.com Ubuntu - Linux for human beings | www.ubuntu.com