osk5912: LED trigger update for CF
Subsystems (3)
PATCH 1/1 osk5912: LED trigger update for CF
From: David Brownell <[email protected]>
Help OSK work better with root-on-CF, by having one of the LEDs use the "ide-disk" trigger (to kick in during CF I/O).
Signed-off-by David Brownell <[email protected]>
--- arch/arm/mach-omap1/board-osk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-omap1/board-osk.c +2 -1
@@ -188,7 +188,8 @@ static struct gpio_led tps_leds[] = {/* NOTE: D9 and D2 have hardware blink support. * Also, D9 requires non-battery power. */ - { .gpio = OSK_TPS_GPIO_LED_D9, .name = "d9", }, + { .gpio = OSK_TPS_GPIO_LED_D9, .name = "d9", + .default_trigger = "ide-disk", }, { .gpio = OSK_TPS_GPIO_LED_D2, .name = "d2", }, { .gpio = OSK_TPS_GPIO_LED_D3, .name = "d3", .active_low = 1, .default_trigger = "heartbeat", },
Tony Lindgren
reviewerQuoted 4 lines · David Brownell
From: David Brownell <[email protected]>
Help OSK work better with root-on-CF, by having one of the LEDs use the "ide-disk" trigger (to kick in during CF I/O).
Pushing today and adding to omap1-upstream queue.
Tony
Quoted 21 lines
Signed-off-by David Brownell <[email protected]>--- arch/arm/mach-omap1/board-osk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm/mach-omap1/board-osk.c +2
-2@@ -188,7 +188,8 @@ static struct gpio_led tps_leds[] = {/* NOTE: D9 and D2 have hardware blink support. * Also, D9 requires non-battery power. */ - { .gpio = OSK_TPS_GPIO_LED_D9, .name = "d9", }, + { .gpio = OSK_TPS_GPIO_LED_D9, .name = "d9", + .default_trigger = "ide-disk", }, { .gpio = OSK_TPS_GPIO_LED_D2, .name = "d2", }, { .gpio = OSK_TPS_GPIO_LED_D3, .name = "d3", .active_low = 1, .default_trigger = "heartbeat", }, --To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html