alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ASoC: cs35l36: Remove unneeded variable initialisation
@ 2021-05-11 10:10 Charles Keepax
  2021-05-11 10:10 ` [PATCH 2/3] ASoC: cs4265: Minor tidy up of error paths Charles Keepax
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Charles Keepax @ 2021-05-11 10:10 UTC (permalink / raw)
  To: broonie
  Cc: pierre-louis.bossart, alsa-devel, patches, lgirdwood,
	james.schulman, david.rhodes

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 sound/soc/codecs/cs35l36.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs35l36.c b/sound/soc/codecs/cs35l36.c
index a038bcec2d17c..db5472b10465b 100644
--- a/sound/soc/codecs/cs35l36.c
+++ b/sound/soc/codecs/cs35l36.c
@@ -1156,7 +1156,7 @@ static int cs35l36_component_probe(struct snd_soc_component *component)
 {
 	struct cs35l36_private *cs35l36 =
 			snd_soc_component_get_drvdata(component);
-	int ret = 0;
+	int ret;
 
 	if ((cs35l36->rev_id == CS35L36_REV_A0) && cs35l36->pdata.dcm_mode) {
 		regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_DCM_CTRL,
-- 
2.11.0


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

end of thread, other threads:[~2021-05-11 18:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-11 10:10 [PATCH 1/3] ASoC: cs35l36: Remove unneeded variable initialisation Charles Keepax
2021-05-11 10:10 ` [PATCH 2/3] ASoC: cs4265: Minor tidy up of error paths Charles Keepax
2021-05-11 10:10 ` [PATCH 3/3] ASoC: cs42l52: " Charles Keepax
2021-05-11 16:31 ` [PATCH 1/3] ASoC: cs35l36: Remove unneeded variable initialisation Pierre-Louis Bossart
2021-05-11 18:21 ` Mark Brown

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