diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-18 20:38:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-18 20:38:09 -0500 |
commit | 2763f92f858f7c4c3198335c0542726eaed07ba3 (patch) | |
tree | d5fe4eb838ae3fb0816fecb855d5595a35045334 | |
parent | b92ce305fcbc8d85d1732fecf17c823c760868bd (diff) | |
parent | 69e05170ef0d0c00e1098dd6a625b44f39903a6a (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Arnd Bergmann:
"Two more bugfixes that came in during this week:
- a defconfig change to enable a vital driver used on some Qualcomm
based phones. This was already queued for 4.11, but the maintainer
asked to have it in 4.10 after all.
- a regression fix for the reset controller framework, this got
broken by a typo in the 4.10 merge window"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: multi_v7_defconfig: enable Qualcomm RPMCC
reset: fix shared reset triggered_count decrement on error
-rw-r--r-- | arch/arm/configs/multi_v7_defconfig | 1 | ||||
-rw-r--r-- | drivers/reset/core.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 028d2b70e3b5..f57ec511e7ae 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig | |||
@@ -824,6 +824,7 @@ CONFIG_QCOM_SMSM=y | |||
824 | CONFIG_QCOM_WCNSS_CTRL=m | 824 | CONFIG_QCOM_WCNSS_CTRL=m |
825 | CONFIG_ROCKCHIP_PM_DOMAINS=y | 825 | CONFIG_ROCKCHIP_PM_DOMAINS=y |
826 | CONFIG_COMMON_CLK_QCOM=y | 826 | CONFIG_COMMON_CLK_QCOM=y |
827 | CONFIG_QCOM_CLK_RPM=y | ||
827 | CONFIG_CHROME_PLATFORMS=y | 828 | CONFIG_CHROME_PLATFORMS=y |
828 | CONFIG_STAGING_BOARD=y | 829 | CONFIG_STAGING_BOARD=y |
829 | CONFIG_CROS_EC_CHARDEV=m | 830 | CONFIG_CROS_EC_CHARDEV=m |
diff --git a/drivers/reset/core.c b/drivers/reset/core.c index 10368ed8fd13..b6f5f1e1826c 100644 --- a/drivers/reset/core.c +++ b/drivers/reset/core.c | |||
@@ -163,7 +163,7 @@ int reset_control_reset(struct reset_control *rstc) | |||
163 | } | 163 | } |
164 | 164 | ||
165 | ret = rstc->rcdev->ops->reset(rstc->rcdev, rstc->id); | 165 | ret = rstc->rcdev->ops->reset(rstc->rcdev, rstc->id); |
166 | if (rstc->shared && !ret) | 166 | if (rstc->shared && ret) |
167 | atomic_dec(&rstc->triggered_count); | 167 | atomic_dec(&rstc->triggered_count); |
168 | 168 | ||
169 | return ret; | 169 | return ret; |