diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-05-06 14:58:43 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-05-13 19:17:41 +0200 |
commit | 762361a79c8e1873898bbf9724ac58ede7464832 (patch) | |
tree | da140307620445448a1e298bc96a37f4c9bb10e4 /target/linux/brcm63xx/patches-4.9/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch | |
parent | 06403981e1f2daf6bbcf05f5f2d2205d68240861 (diff) | |
download | upstream-762361a79c8e1873898bbf9724ac58ede7464832.tar.gz upstream-762361a79c8e1873898bbf9724ac58ede7464832.tar.bz2 upstream-762361a79c8e1873898bbf9724ac58ede7464832.zip |
brcm63xx: remove kernel 4.9 support
This target got bumped to 4.14 a long time ago
in commit: 2308b87204206d84b6bf3dbc3d72591611cc6b78
Remove all leftover 4.9 files.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.9/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.9/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/target/linux/brcm63xx/patches-4.9/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch b/target/linux/brcm63xx/patches-4.9/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch deleted file mode 100644 index 5280baff2b..0000000000 --- a/target/linux/brcm63xx/patches-4.9/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch +++ /dev/null @@ -1,34 +0,0 @@ -From dc90895d776d7b8017bc3b14f588d569d8edbe1f Mon Sep 17 00:00:00 2001 -From: Jonas Gorski <jonas.gorski@gmail.com> -Date: Thu, 11 May 2017 13:36:52 +0200 -Subject: [PATCH] leds: bcm6328: fix signal source assignment for high leds - -Each nibble represents 4 LEDs, and in case of the higher register, bit 0 -represents LED 4, so we need to use modulus for the LED number as well. - -Fixes: fd7b025a238d0a5440bfa26c585eb78097bf48dc ("leds: add BCM6328 LED driver") -Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> ---- - drivers/leds/leds-bcm6328.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/drivers/leds/leds-bcm6328.c -+++ b/drivers/leds/leds-bcm6328.c -@@ -242,7 +242,7 @@ static int bcm6328_hwled(struct device * - - spin_lock_irqsave(lock, flags); - val = bcm6328_led_read(addr); -- val |= (BIT(reg) << (((sel % 4) * 4) + 16)); -+ val |= (BIT(reg % 4) << (((sel % 4) * 4) + 16)); - bcm6328_led_write(addr, val); - spin_unlock_irqrestore(lock, flags); - } -@@ -269,7 +269,7 @@ static int bcm6328_hwled(struct device * - - spin_lock_irqsave(lock, flags); - val = bcm6328_led_read(addr); -- val |= (BIT(reg) << ((sel % 4) * 4)); -+ val |= (BIT(reg % 4) << ((sel % 4) * 4)); - bcm6328_led_write(addr, val); - spin_unlock_irqrestore(lock, flags); - } |