pinctrl: qcom: fix wrong write in update_dual_edge
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 14 Apr 2020 00:37:26 +0000 (02:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 May 2020 06:20:19 +0000 (08:20 +0200)
commitaec927836c7d38e7e492d7b1437c90141e039f17
tree28d29471e6dcb61a859d7c11782ba80b4643dcc0
parent604ad1bb8aae753857004235261d16827308c1aa
pinctrl: qcom: fix wrong write in update_dual_edge

[ Upstream commit 90bcb0c3ca0809d1ed358bfbf838df4b3d4e58e0 ]

Fix a typo in the readl/writel accessor conversion where val is used
instead of pol changing the behavior of the original code.

Cc: stable@vger.kernel.org
Fixes: 6c73698904aa pinctrl: qcom: Introduce readl/writel accessors
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200414003726.25347-1-ansuelsmth@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/qcom/pinctrl-msm.c