linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] AT91: flexibity: default leds to heartbeat
@ 2011-05-30 17:13 Maxim Osipov
  2011-05-31  8:28 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Osipov @ 2011-05-30 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

This patch changes default behavior of Flexibity board LEDs to blinking
for boot diagnostic purpose.

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
---
 arch/arm/mach-at91/board-flexibity.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c
index 4fdc96c..8cbec8a 100644
--- a/arch/arm/mach-at91/board-flexibity.c
+++ b/arch/arm/mach-at91/board-flexibity.c
@@ -96,49 +96,49 @@ static struct gpio_led flexibity_leds[] = {
 		.name			= "usb1:green",
 		.gpio			= AT91_PIN_PA12,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb1:red",
 		.gpio			= AT91_PIN_PA13,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb2:green",
 		.gpio			= AT91_PIN_PB26,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb2:red",
 		.gpio			= AT91_PIN_PB27,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb3:green",
 		.gpio			= AT91_PIN_PC8,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb3:red",
 		.gpio			= AT91_PIN_PC6,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb4:green",
 		.gpio			= AT91_PIN_PB4,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	},
 	{
 		.name			= "usb4:red",
 		.gpio			= AT91_PIN_PB5,
 		.active_low		= 1,
-		.default_trigger	= "default-on",
+		.default_trigger	= "heartbeat",
 	}
 };
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/1] AT91: flexibity: default leds to heartbeat
  2011-05-30 17:13 [PATCH 1/1] AT91: flexibity: default leds to heartbeat Maxim Osipov
@ 2011-05-31  8:28 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-31  8:28 UTC (permalink / raw)
  To: linux-arm-kernel

On 18:13 Mon 30 May     , Maxim Osipov wrote:
> This patch changes default behavior of Flexibity board LEDs to blinking
> for boot diagnostic purpose.
> 
> Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
> ---
>  arch/arm/mach-at91/board-flexibity.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c
> index 4fdc96c..8cbec8a 100644
> --- a/arch/arm/mach-at91/board-flexibity.c
> +++ b/arch/arm/mach-at91/board-flexibity.c
> @@ -96,49 +96,49 @@ static struct gpio_led flexibity_leds[] = {
>  		.name			= "usb1:green",
>  		.gpio			= AT91_PIN_PA12,
>  		.active_low		= 1,
> -		.default_trigger	= "default-on",
> +		.default_trigger	= "heartbeat",
can we factorize this a few
they have all the same default_trigger and active low

Best Regards,
J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-31  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 17:13 [PATCH 1/1] AT91: flexibity: default leds to heartbeat Maxim Osipov
2011-05-31  8:28 ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).