901-AT91-flexibity-default-leds-to-heartbeat.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --- a/arch/arm/mach-at91/board-flexibity.c
  2. +++ b/arch/arm/mach-at91/board-flexibity.c
  3. @@ -90,49 +90,49 @@ static struct gpio_led flexibity_leds[]
  4. .name = "usb1:green",
  5. .gpio = AT91_PIN_PA12,
  6. .active_low = 1,
  7. - .default_trigger = "default-on",
  8. + .default_trigger = "heartbeat",
  9. },
  10. {
  11. .name = "usb1:red",
  12. .gpio = AT91_PIN_PA13,
  13. .active_low = 1,
  14. - .default_trigger = "default-on",
  15. + .default_trigger = "heartbeat",
  16. },
  17. {
  18. .name = "usb2:green",
  19. .gpio = AT91_PIN_PB26,
  20. .active_low = 1,
  21. - .default_trigger = "default-on",
  22. + .default_trigger = "heartbeat",
  23. },
  24. {
  25. .name = "usb2:red",
  26. .gpio = AT91_PIN_PB27,
  27. .active_low = 1,
  28. - .default_trigger = "default-on",
  29. + .default_trigger = "heartbeat",
  30. },
  31. {
  32. .name = "usb3:green",
  33. .gpio = AT91_PIN_PC8,
  34. .active_low = 1,
  35. - .default_trigger = "default-on",
  36. + .default_trigger = "heartbeat",
  37. },
  38. {
  39. .name = "usb3:red",
  40. .gpio = AT91_PIN_PC6,
  41. .active_low = 1,
  42. - .default_trigger = "default-on",
  43. + .default_trigger = "heartbeat",
  44. },
  45. {
  46. .name = "usb4:green",
  47. .gpio = AT91_PIN_PB4,
  48. .active_low = 1,
  49. - .default_trigger = "default-on",
  50. + .default_trigger = "heartbeat",
  51. },
  52. {
  53. .name = "usb4:red",
  54. .gpio = AT91_PIN_PB5,
  55. .active_low = 1,
  56. - .default_trigger = "default-on",
  57. + .default_trigger = "heartbeat",
  58. }
  59. };