linux-stable/drivers/pinctrl/samsung
Paweł Chmiel 5cf9a338db 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: 023e06dfa6 ("pinctrl: exynos: add exynos5410 SoC specific data")
Fixes: 608a26a7bc ("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>
2018-04-18 17:45:08 +02:00
..
Kconfig pinctrl: samsung: Add SPDX license identifiers 2018-01-03 08:46:54 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-exynos-arm.c pinctrl: samsung: Correct EINTG banks order 2018-04-18 17:45:08 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: Validate alias coming from DT 2018-03-08 13:02:26 +01:00
pinctrl-exynos.c pinctrl: samsung: Add SPDX license identifiers 2018-01-03 08:46:54 +01:00
pinctrl-exynos.h pinctrl: samsung: Add SPDX license identifiers 2018-01-03 08:46:54 +01:00
pinctrl-exynos5440.c pinctrl: samsung: Add SPDX license identifiers 2018-01-03 08:46:54 +01:00
pinctrl-s3c24xx.c pinctrl: samsung: Validate alias coming from DT 2018-03-08 13:02:26 +01:00
pinctrl-s3c64xx.c pinctrl: samsung: Validate alias coming from DT 2018-03-08 13:02:26 +01:00
pinctrl-samsung.c pinctrl: samsung: Validate alias coming from DT 2018-03-08 13:02:26 +01:00
pinctrl-samsung.h pinctrl: samsung: Validate alias coming from DT 2018-03-08 13:02:26 +01:00