projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52fc43f
)
ASoC: WM8995: Fix incorrect use of snd_soc_update_bits()
author
Dimitris Papastamos
<
[email protected]
>
Wed, 19 Jan 2011 12:55:28 +0000
(12:55 +0000)
committer
Mark Brown
<
[email protected]
>
Wed, 19 Jan 2011 14:49:32 +0000
(14:49 +0000)
In the wm8995_set_tristate() function when updating the register
bits use the value and not the register index as the value argument.
Signed-off-by: Dimitris Papastamos <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm8995.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8995.c
b/sound/soc/codecs/wm8995.c
index 6045cbde492be5149ffd7c0b3002631a614ab15f..608c84c5aa8e6472e3bb43b20b279753f0a4a1c1 100644
(file)
--- a/
sound/soc/codecs/wm8995.c
+++ b/
sound/soc/codecs/wm8995.c
@@
-1223,7
+1223,7
@@
static int wm8995_set_tristate(struct snd_soc_dai *codec_dai, int tristate)
else
val = 0;
- return snd_soc_update_bits(codec, reg, mask,
reg
);
+ return snd_soc_update_bits(codec, reg, mask,
val
);
}
/* The size in bits of the FLL divide multiplied by 10