Takashi Iwai 17a21341d9 ASoC: nau8824: Fix semaphore unbalance at error paths
[ Upstream commit 5628560e90395d3812800a8e44a01c32ffa429ec ]

The semaphore of nau8824 wasn't properly unlocked at some error
handling code paths, hence this may result in the unbalance (and
potential lock-up).  Fix them to handle the semaphore up properly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220823081000.2965-3-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-28 11:03:58 +02:00
..
2021-03-24 11:26:34 +01:00
2021-05-14 09:44:29 +02:00
2019-06-26 12:27:50 +01:00
2020-06-17 16:40:26 +02:00
2018-04-26 12:44:15 +01:00
2019-07-26 13:10:09 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2019-06-26 12:39:34 +01:00
2018-05-18 11:20:11 +01:00
2019-06-26 12:39:34 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2022-07-21 20:59:26 +02:00
2019-12-31 16:45:31 +01:00