summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinconf.h
diff options
context:
space:
mode:
authorPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>2018-04-16 17:52:45 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2018-04-18 17:45:08 +0200
commit5cf9a338db94cfd570aa2607bef1b30996f188e3 (patch)
tree167945197c454430c8e5ea9c3e83c9b3610abeef /drivers/pinctrl/pinconf.h
parentLinux 4.17-rc1 (diff)
downloadlinux-5cf9a338db94cfd570aa2607bef1b30996f188e3.tar.xz
linux-5cf9a338db94cfd570aa2607bef1b30996f188e3.zip
pinctrl: samsung: Correct EINTG banks order
All banks with GPIO interrupts should be at beginning of bank array and without any other types of banks between them. This order is expected by exynos_eint_gpio_irq, when doing interrupt group to bank translation. Otherwise, kernel NULL pointer dereference would happen when trying to handle interrupt, due to wrong bank being looked up. Observed on s5pv210, when trying to handle gpj0 interrupt, where kernel was mapping it to gpi bank. Cc: stable@vger.kernel.org Fixes: 023e06dfa688 ("pinctrl: exynos: add exynos5410 SoC specific data") Fixes: 608a26a7bc04 ("pinctrl: Add s5pv210 support to pinctrl-exynos) Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/pinctrl/pinconf.h')
0 files changed, 0 insertions, 0 deletions