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)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Apr 2020 11:15:40 +0000 (13:15 +0200)
commit90bcb0c3ca0809d1ed358bfbf838df4b3d4e58e0
treef2173e30b11a16f6a47486cadcd31dc528abcd00
parent6a27268cdeb035aca092c3bc2a426594fb558cc1
pinctrl: qcom: fix wrong write in update_dual_edge

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>
drivers/pinctrl/qcom/pinctrl-msm.c