alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ASoC: wm0010: disable regulator on error
@ 2015-09-18 10:32 Sudip Mukherjee
  2015-09-18 10:32 ` [PATCH 2/3] ASoC: wm0010: fix memory leak Sudip Mukherjee
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sudip Mukherjee @ 2015-09-18 10:32 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
  Cc: linux-kernel, patches, alsa-devel, Sudip Mukherjee

We have done regulator_bulk_enable() while booting the DSP but on the
error exit path we have not disbled it.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 sound/soc/codecs/wm0010.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 8434d45..79a7cd3 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -739,8 +739,6 @@ static int wm0010_boot(struct snd_soc_codec *codec)
 abort:
 	/* Put the chip back into reset */
 	wm0010_halt(codec);
-	mutex_unlock(&wm0010->lock);
-	return ret;
 
 err_core:
 	mutex_unlock(&wm0010->lock);
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-09-20  0:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18 10:32 [PATCH 1/3] ASoC: wm0010: disable regulator on error Sudip Mukherjee
2015-09-18 10:32 ` [PATCH 2/3] ASoC: wm0010: fix memory leak Sudip Mukherjee
2015-09-18 11:39   ` Charles Keepax
2015-09-20  0:13   ` Applied "ASoC: wm0010: fix memory leak" to the asoc tree Mark Brown
2015-09-18 10:32 ` [PATCH 3/3] ASoC: wm0010: fix error path Sudip Mukherjee
2015-09-18 11:40   ` Charles Keepax
2015-09-20  0:13   ` Applied "ASoC: wm0010: fix error path" to the asoc tree Mark Brown
2015-09-18 11:34 ` [PATCH 1/3] ASoC: wm0010: disable regulator on error Charles Keepax
2015-09-18 12:42   ` Sudip Mukherjee
2015-09-18 12:38     ` Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).