diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2017-09-04 12:50:01 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-09-04 14:41:56 +0200 |
commit | ca53effdd6478f32948f6755bb65b34505203e59 (patch) | |
tree | facec651070d21486989c7aa78b41150c28181b8 /target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch | |
parent | 1100bbf8337f83b4eecd1dff890c36fbed2956d5 (diff) | |
download | upstream-ca53effdd6478f32948f6755bb65b34505203e59.tar.gz upstream-ca53effdd6478f32948f6755bb65b34505203e59.tar.bz2 upstream-ca53effdd6478f32948f6755bb65b34505203e59.zip |
kernel: update 4.4 to 4.4.86
Refresh patches
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch b/target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch index edd7dfac59..e8777d2c3d 100644 --- a/target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch +++ b/target/linux/brcm2708/patches-4.4/0073-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch @@ -31,7 +31,7 @@ See: https://github.com/raspberrypi/linux/issues/1064 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c -@@ -42,6 +42,13 @@ static void gpio_led_work(struct work_st +@@ -41,6 +41,13 @@ static void gpio_led_work(struct work_st led_dat->platform_gpio_blink_set(led_dat->gpiod, led_dat->new_level, NULL, NULL); led_dat->blinking = 0; @@ -45,7 +45,7 @@ See: https://github.com/raspberrypi/linux/issues/1064 } else gpiod_set_value_cansleep(led_dat->gpiod, led_dat->new_level); } -@@ -62,7 +69,8 @@ static void gpio_led_set(struct led_clas +@@ -61,7 +68,8 @@ static void gpio_led_set(struct led_clas * seem to have a reliable way to know if we're already in one; so * let's just assume the worst. */ @@ -55,7 +55,7 @@ See: https://github.com/raspberrypi/linux/issues/1064 led_dat->new_level = level; schedule_work(&led_dat->work); } else { -@@ -75,6 +83,13 @@ static void gpio_led_set(struct led_clas +@@ -74,6 +82,13 @@ static void gpio_led_set(struct led_clas } } @@ -69,7 +69,7 @@ See: https://github.com/raspberrypi/linux/issues/1064 static int gpio_blink_set(struct led_classdev *led_cdev, unsigned long *delay_on, unsigned long *delay_off) { -@@ -131,6 +146,7 @@ static int create_gpio_led(const struct +@@ -129,6 +144,7 @@ static int create_gpio_led(const struct led_dat->cdev.blink_set = gpio_blink_set; } led_dat->cdev.brightness_set = gpio_led_set; |