Skip to contentSkip to conversation

ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level

PATCH In review Axel Lin 3 participants 3 messages Jun 28, 2016

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level

This is done by ASoC core now.

---
 sound/soc/codecs/cs35l33.c | 3 ---
 1 file changed, 3 deletions(-)
sound/soc/codecs/cs35l33.c +0 -3
index 90dc743..622a111 100644
@@ -365,7 +365,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
 				  enum snd_soc_bias_level level)
 {
 	unsigned int val;
-	struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
 	struct cs35l33_private *priv = snd_soc_codec_get_drvdata(codec);
 
 	switch (level) {
@@ -392,8 +391,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
 		return -EINVAL;
 	}
 
-	dapm->bias_level = level;
-
 	return 0;
 }
 
Signature · 1 line
2.5.0
Acked-by on v1 1/1
#1 lore raw
Quoted 32 lines · Axel Lin

This is done by ASoC core now.

---
sound/soc/codecs/cs35l33.c | 3 ---

1 file changed, 3 deletions(-)
sound/soc/codecs/cs35l33.c +0 -1
index 90dc743..622a111 100644
@@ -365,7 +365,6 @@ static int cs35l33_set_bias_level(struct
 snd_soc_codec *codec,
 				  enum snd_soc_bias_level level)
 {
 	unsigned int val;
-	struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
 	struct cs35l33_private *priv = snd_soc_codec_get_drvdata(codec);
 
	switch (level) {
sound/soc/codecs/cs35l33.c +0 -2
@@ -392,8 +391,6 @@ static int cs35l33_set_bias_level(struct
 snd_soc_codec *codec,
 		return -EINVAL;
 	}
 
-	dapm->bias_level = level;
-
 	return 0;
 }
Signature · 2 lines
-- 
2.5.0

Thanks!

maintainer
#2 lore raw

Applied "ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level" to the asoc tree

In reply to Axel Lin

The patch

ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 262329fccad4914dbf4b49634cbe140dfb353c25 Mon Sep 17 00:00:00 2001

From: Axel Lin <[email protected]>
Date: Tue, 28 Jun 2016 18:36:59 +0800
Subject: [PATCH] ASoC: cs35l33: Remove setting dapm->bias_level in
cs35l33_set_bias_level

This is done by ASoC core now.

---
 sound/soc/codecs/cs35l33.c | 3 ---
 1 file changed, 3 deletions(-)
sound/soc/codecs/cs35l33.c +0 -3
index 90dc743a8378..622a1111b21c 100644
@@ -365,7 +365,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
 				  enum snd_soc_bias_level level)
 {
 	unsigned int val;
-	struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
 	struct cs35l33_private *priv = snd_soc_codec_get_drvdata(codec);
 
 	switch (level) {
@@ -392,8 +391,6 @@ static int cs35l33_set_bias_level(struct snd_soc_codec *codec,
 		return -EINVAL;
 	}
 
-	dapm->bias_level = level;
-
 	return 0;
 }
 
Signature · 1 line
2.8.1