1
0

004-add_sata_disk_activity_trigger.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 172230195068703b78ad5733a09492f5d6814c09 Mon Sep 17 00:00:00 2001
  2. From: Ansuel Smith <ansuelsmth@gmail.com>
  3. Date: Tue, 28 Feb 2017 14:15:50 +0100
  4. Subject: [PATCH] ARM: dts: armada: Add default trigger for sata led
  5. In others board we have the sata led set to function
  6. with the sata led trigger by default.
  7. This patch makes the same for these board that have sata
  8. led but get disabled by not associating it to any trigger.
  9. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
  10. Acked-by: Jason Cooper <jason@lakedaemon.net>
  11. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
  12. ---
  13. arch/arm/boot/dts/armada-385-linksys-caiman.dts | 1 +
  14. arch/arm/boot/dts/armada-385-linksys-cobra.dts | 1 +
  15. arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 1 +
  16. 3 files changed, 3 insertions(+)
  17. --- a/arch/arm/boot/dts/armada-385-linksys-caiman.dts
  18. +++ b/arch/arm/boot/dts/armada-385-linksys-caiman.dts
  19. @@ -100,6 +100,7 @@
  20. sata {
  21. label = "caiman:white:sata";
  22. + linux,default-trigger = "disk-activity";
  23. };
  24. };
  25. --- a/arch/arm/boot/dts/armada-385-linksys-cobra.dts
  26. +++ b/arch/arm/boot/dts/armada-385-linksys-cobra.dts
  27. @@ -100,6 +100,7 @@
  28. sata {
  29. label = "cobra:white:sata";
  30. + linux,default-trigger = "disk-activity";
  31. };
  32. };