[RESEND PATCH] pinctrl: mediatek: use spin lock in mtk_rmw

Tzung-Bi Shih tzungbi at google.com
Mon Apr 19 11:36:42 CEST 2021


On Mon, Apr 19, 2021 at 4:31 PM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Mon, Apr 19, 2021 at 8:32 AM Tzung-Bi Shih <tzungbi at google.com> wrote:
> > For example call trace:
>
> Please, shrink it to the necessary minimum.

I'll snip the stack a bit in the next version.

> > 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 .


More information about the Alsa-devel mailing list