projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beefe4a
)
ASoC: cs35l33: Remove setting dapm->bias_level in cs35l33_set_bias_level
author
Axel Lin
<axel.lin@ingics.com>
Tue, 28 Jun 2016 10:36:59 +0000
(18:36 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 28 Jun 2016 19:56:03 +0000
(20:56 +0100)
This is done by ASoC core now.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l33.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs35l33.c
b/sound/soc/codecs/cs35l33.c
index 90dc743a837859c4199c34fbef49bfadc632aebe..622a1111b21cab53a5f53de1b127b8fadf8fcf93 100644
(file)
--- a/
sound/soc/codecs/cs35l33.c
+++ b/
sound/soc/codecs/cs35l33.c
@@
-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;
}