diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2022-03-02 13:11:44 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-03-05 21:05:45 +0100 |
commit | 05ed7dc50d7fd0be3ea8d6bdf06227bdeae2e7a5 (patch) | |
tree | 68e66de94e62af2e06719bd8e6b56f88ce80993a /target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch | |
parent | ef4bf8b403205062ddb38ebe7b8c4951be346368 (diff) | |
download | upstream-05ed7dc50d7fd0be3ea8d6bdf06227bdeae2e7a5.tar.gz upstream-05ed7dc50d7fd0be3ea8d6bdf06227bdeae2e7a5.tar.bz2 upstream-05ed7dc50d7fd0be3ea8d6bdf06227bdeae2e7a5.zip |
kernel: bump 5.10 to 5.10.103
Patches automatically rebased.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch')
-rw-r--r-- | target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch b/target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch index 5cd433f31a..f371266c78 100644 --- a/target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch +++ b/target/linux/at91/patches-5.10/124-regulator-mcp16502-adapt-for-get-set-on-other-regist.patch @@ -15,8 +15,6 @@ Signed-off-by: Mark Brown <broonie@kernel.org> drivers/regulator/mcp16502.c | 43 ++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 16 deletions(-) -diff --git a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c -index ab78f831f5bf..48eb64bc4018 100644 --- a/drivers/regulator/mcp16502.c +++ b/drivers/regulator/mcp16502.c @@ -54,13 +54,9 @@ @@ -58,7 +56,7 @@ index ab78f831f5bf..48eb64bc4018 100644 static unsigned int mcp16502_of_map_mode(unsigned int mode) { if (mode == REGULATOR_MODE_NORMAL || mode == REGULATOR_MODE_IDLE) -@@ -144,22 +157,20 @@ static void mcp16502_gpio_set_mode(struct mcp16502 *mcp, int mode) +@@ -144,22 +157,20 @@ static void mcp16502_gpio_set_mode(struc } /* @@ -86,7 +84,7 @@ index ab78f831f5bf..48eb64bc4018 100644 default: return -EINVAL; } -@@ -179,7 +190,7 @@ static unsigned int mcp16502_get_mode(struct regulator_dev *rdev) +@@ -179,7 +190,7 @@ static unsigned int mcp16502_get_mode(st unsigned int val; int ret, reg; @@ -95,7 +93,7 @@ index ab78f831f5bf..48eb64bc4018 100644 if (reg < 0) return reg; -@@ -210,7 +221,7 @@ static int _mcp16502_set_mode(struct regulator_dev *rdev, unsigned int mode, +@@ -210,7 +221,7 @@ static int _mcp16502_set_mode(struct reg int val; int reg; @@ -104,7 +102,7 @@ index ab78f831f5bf..48eb64bc4018 100644 if (reg < 0) return reg; -@@ -269,10 +280,10 @@ static int mcp16502_suspend_get_target_reg(struct regulator_dev *rdev) +@@ -269,10 +280,10 @@ static int mcp16502_suspend_get_target_r { switch (pm_suspend_target_state) { case PM_SUSPEND_STANDBY: @@ -117,6 +115,3 @@ index ab78f831f5bf..48eb64bc4018 100644 default: dev_err(&rdev->dev, "invalid suspend target: %d\n", pm_suspend_target_state); --- -2.32.0 - |