Marek Vasut e546427762 gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock
The driver currently performs register read-modify-write without locking
in its irqchip part, this could lead to a race condition when configuring
interrupt mode setting. Add the missing bgpio spinlock lock/unlock around
the register read-modify-write.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Fixes: 07bd1a6cc7cbb ("MXC arch: Add gpio support for the whole platform")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-01-16 10:54:45 +01:00
..
2022-10-08 09:46:29 -07:00
2022-10-08 09:46:29 -07:00
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2022-10-26 14:52:02 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2022-06-23 23:18:13 +02:00
2022-06-21 18:01:11 +03:00
2019-11-07 09:27:48 +01:00
2022-06-06 14:09:16 +03:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2022-10-08 09:46:29 -07:00
2022-08-04 18:34:05 -07:00
2019-12-09 10:40:18 +01:00
2022-11-16 10:20:33 +01:00
2022-12-15 09:45:51 -08:00
2022-12-15 09:45:51 -08:00
2022-12-15 09:45:51 -08:00
2022-10-24 12:30:26 +03:00