047-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From 820a3e952b266d4355e89ed91c9b11945030321e Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 8 Mar 2017 07:41:04 +0100
  4. Subject: [PATCH] ARM: dts: BCM53573: Don't use nonexistent "default-off" LED
  5. trigger
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. Such a trigger doesn't exist in Linux and is not needed as LED is being
  10. turned off by default. This could cause errors in LEDs core code when
  11. trying to set default trigger.
  12. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  13. Acked-by: Pavel Machek <pavel@ucw.cz>
  14. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  15. ---
  16. arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 4 ----
  17. 1 file changed, 4 deletions(-)
  18. --- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
  19. +++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
  20. @@ -26,19 +26,16 @@
  21. usb {
  22. label = "bcm53xx:blue:usb";
  23. gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
  24. - linux,default-trigger = "default-off";
  25. };
  26. wps {
  27. label = "bcm53xx:blue:wps";
  28. gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
  29. - linux,default-trigger = "default-off";
  30. };
  31. 5ghz {
  32. label = "bcm53xx:blue:5ghz";
  33. gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
  34. - linux,default-trigger = "default-off";
  35. };
  36. system {
  37. @@ -54,7 +51,6 @@
  38. 2ghz {
  39. label = "bcm53xx:blue:2ghz";
  40. gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
  41. - linux,default-trigger = "default-off";
  42. };
  43. };