pinctrl: th1520: Convert thp->mutex to guarded mutex
authorDrew Fustini <dfustini@tenstorrent.com>
Wed, 9 Oct 2024 01:16:47 +0000 (18:16 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Oct 2024 12:42:07 +0000 (14:42 +0200)
commitf3a3d006a443e3e39f97b4e71a8d134cda417109
tree8800ce5a5261049d8adee9c6ca8a8664909b9ad0
parent7027e36f55f663c2248e8a2d67b94e34cab0ac7f
pinctrl: th1520: Convert thp->mutex to guarded mutex

Convert th1520_pinctrl_dt_node_to_map() to use guarded mutex for
thp->mutex.

Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/20241008-th1520-pinctrl-fixes-v3-2-5b60db446a49@tenstorrent.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-th1520.c