aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch
diff options
context:
space:
mode:
authorJohn Audia <therealgraysky@proton.me>2022-06-22 11:58:33 -0400
committerHauke Mehrtens <hauke@hauke-m.de>2022-06-27 00:57:15 +0200
commit9e5d743422edc4036cda7d96b96ba62705f382de (patch)
tree513649e78319d217fc9b7c8eaa164d8f34c19dbd /target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch
parent5202a511cc4557303d4b77bf77ebb66e524dcddf (diff)
downloadupstream-9e5d743422edc4036cda7d96b96ba62705f382de.tar.gz
upstream-9e5d743422edc4036cda7d96b96ba62705f382de.tar.bz2
upstream-9e5d743422edc4036cda7d96b96ba62705f382de.zip
kernel: bump 5.10 to 5.10.124
All patches automatically rebased. Build system: x86_64 Build-tested: ipq806x/R7800 Signed-off-by: John Audia <therealgraysky@proton.me>
Diffstat (limited to 'target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch')
-rw-r--r--target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch b/target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch
index c3344be4fd..bdb095dc2e 100644
--- a/target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch
+++ b/target/linux/generic/backport-5.10/841-v5.15-leds-pca955x-add-brightness-get-function.patch
@@ -11,11 +11,9 @@ Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-pca955x.c | 52 +++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
-diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c
-index f0d841cb59fcc8..e47ba7c3b7c7d8 100644
--- a/drivers/leds/leds-pca955x.c
+++ b/drivers/leds/leds-pca955x.c
-@@ -233,6 +233,57 @@ static int pca955x_read_ls(struct i2c_client *client, int n, u8 *val)
+@@ -233,6 +233,57 @@ static int pca955x_read_ls(struct i2c_cl
return 0;
}
@@ -73,7 +71,7 @@ index f0d841cb59fcc8..e47ba7c3b7c7d8 100644
static int pca955x_led_set(struct led_classdev *led_cdev,
enum led_brightness value)
{
-@@ -512,6 +563,7 @@ static int pca955x_probe(struct i2c_client *client,
+@@ -512,6 +563,7 @@ static int pca955x_probe(struct i2c_clie
led->name = pca955x_led->name;
led->brightness_set_blocking = pca955x_led_set;