projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f114040
)
ASoC: tlv320dac33: Cleanup manual bias level transitions
author
Lars-Peter Clausen
<lars@metafoo.de>
Wed, 26 Nov 2014 19:57:58 +0000
(20:57 +0100)
committer
Mark Brown
<broonie@kernel.org>
Thu, 27 Nov 2014 11:17:34 +0000
(11:17 +0000)
Since the ASoC core now takes care of setting the bias level to
SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually
anymore.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320dac33.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/tlv320dac33.c
b/sound/soc/codecs/tlv320dac33.c
index e21ed934bdbf9cdc1f55de3b4786196250336355..0fe2ced5b09fc72324fd2e9ac89c1ec3cf0d06cb 100644
(file)
--- a/
sound/soc/codecs/tlv320dac33.c
+++ b/
sound/soc/codecs/tlv320dac33.c
@@
-1436,8
+1436,6
@@
static int dac33_soc_remove(struct snd_soc_codec *codec)
{
struct tlv320dac33_priv *dac33 = snd_soc_codec_get_drvdata(codec);
- dac33_set_bias_level(codec, SND_SOC_BIAS_OFF);
-
if (dac33->irq >= 0) {
free_irq(dac33->irq, dac33->codec);
destroy_workqueue(dac33->dac33_wq);