pinctrl: samsung: Correct setting of eint wakeup mask on s5pv210
authorJonathan Bakker <xc-racer2@live.ca>
Sat, 4 Apr 2020 17:08:49 +0000 (10:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:31:20 +0000 (09:31 +0200)
commit407933bbb38585b35058d92b4b631b4a3c1ba94c
tree740472f52243f25b31b3846f9d9019a3794bc4ec
parent8b28e5c35d3272e367953fba52cd72fd86573488
pinctrl: samsung: Correct setting of eint wakeup mask on s5pv210

commit b577a279914085c6b657c33e9f39ef56d96a3302 upstream.

Commit a8be2af0218c ("pinctrl: samsung: Write external wakeup interrupt
mask") started writing the eint wakeup mask from the pinctrl driver.
Unfortunately, it made the assumption that the private retention data
was always a regmap while in the case of s5pv210 it is a raw pointer
to the clock base (as the eint wakeup mask not in the PMU as with newer
Exynos platforms).

Fixes: a8be2af0218c ("pinctrl: samsung: Write external wakeup interrupt mask")
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/samsung/pinctrl-exynos.c