projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
696f917
)
ASoC: wm8711: Use snd_soc_update_bits for read-modify-write
author
Axel Lin
<axel.lin@gmail.com>
Tue, 4 Oct 2011 03:15:30 +0000
(11:15 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 4 Oct 2011 15:05:13 +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/wm8711.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8711.c
b/sound/soc/codecs/wm8711.c
index 6ecf1ab4202f178b9e5276df157fe42c1aa5b3ee..47c7fd5e22c5784a75c9b6440300c5cb4955f72b 100644
(file)
--- a/
sound/soc/codecs/wm8711.c
+++ b/
sound/soc/codecs/wm8711.c
@@
-364,7
+364,7
@@
static int wm8711_resume(struct snd_soc_codec *codec)
static int wm8711_probe(struct snd_soc_codec *codec)
{
struct wm8711_priv *wm8711 = snd_soc_codec_get_drvdata(codec);
- int ret
, reg
;
+ int ret;
ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8711->bus_type);
if (ret < 0) {