projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5b00d0
)
ASoC: wm8988: Use snd_soc_update_bits for read-modify-write
author
Axel Lin
<axel.lin@gmail.com>
Tue, 4 Oct 2011 03:18:59 +0000
(11:18 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 4 Oct 2011 15:05:12 +0000
(16:05 +0100)
Use snd_soc_update_bits for read-modify-write register access instead of
open-coding it using snd_soc_read and snd_soc_write
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8988.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8988.c
b/sound/soc/codecs/wm8988.c
index 5099e62641d46f7b4f9963acb37487e82febe664..1c6f8bfbf94a75ed494f485ef36cb4c199a8434f 100644
(file)
--- a/
sound/soc/codecs/wm8988.c
+++ b/
sound/soc/codecs/wm8988.c
@@
-759,7
+759,6
@@
static int wm8988_probe(struct snd_soc_codec *codec)
struct wm8988_priv *wm8988 = snd_soc_codec_get_drvdata(codec);
struct snd_soc_dapm_context *dapm = &codec->dapm;
int ret = 0;
- u16 reg;
ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8988->control_type);
if (ret < 0) {