Re: [RESEND PATCH] pinctrl: mediatek: use spin lock in mtk_rmw
From: Tzung-Bi Shih <hidden>
Date: 2021-04-19 09:36:55
Also in:
alsa-devel, linux-gpio, linux-mediatek
From: Tzung-Bi Shih <hidden>
Date: 2021-04-19 09:36:55
Also in:
alsa-devel, linux-gpio, linux-mediatek
On Mon, Apr 19, 2021 at 4:31 PM Andy Shevchenko [off-list ref] wrote:
On Mon, Apr 19, 2021 at 8:32 AM Tzung-Bi Shih [off-list ref] wrote:quoted
For example call trace:Please, shrink it to the necessary minimum.
I'll snip the stack a bit in the next version.
quoted
Uses spin lock in mtk_rmw instead.It's nice, but now the question is, can you have this function be called in a non-IRQ context concurrently with IRQ accessing registers?
Fixed in v2. See https://patchwork.ozlabs.org/project/linux-gpio/list/?series=239787 . _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel