diff options
author | Fei Shao <[email protected]> | 2022-06-17 19:10:04 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-17 18:25:24 +0100 |
commit | 6c9e9046e1ff356bda66661213735d33c6cfea53 (patch) | |
tree | 2ec7bc83ba21653f8703e9e08ece5af02da28c6f /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 442302003bd2b151e12d52b0af9a7dac131bf931 (diff) |
ASoC: mediatek: mt8186: Fix mutex double unlock in GPIO request
The lockdep mechanism revealed an unbalanced unlocking on MT8186:
[ 2.993966] WARNING: bad unlock balance detected!
[ 2.993978] -------------------------------------
[ 2.993983] kworker/u16:1/10 is trying to release lock (gpio_request_mutex) at:
[ 2.993994] [<ffffffdcd9adebf8>] mt8186_afe_gpio_request+0xf8/0x210
[ 2.994012] but there are no more locks to release!
The cause is that the mutex will be double unlocked if dai is unknown
during GPIO selection, and this patch fixes it.
Fixes: cfa9a966f12a ("ASoC: mediatek: mt8186: support gpio control in platform driver")
Signed-off-by: Fei Shao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions