projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cace3
)
ASoC: max9768: Fix build and use new add control API.
author
Liam Girdwood
<lrg@ti.com>
Mon, 6 Feb 2012 16:50:58 +0000
(16:50 +0000)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 16:52:16 +0000
(16:52 +0000)
Fix build breakage by using the correct API call to add kcontrols.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/max9768.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max9768.c
b/sound/soc/codecs/max9768.c
index
79e9901
..
17b3ec2
100644
(file)
--- a/
sound/soc/codecs/max9768.c
+++ b/
sound/soc/codecs/max9768.c
@@
-135,7
+135,7
@@
static int max9768_probe(struct snd_soc_codec *codec)
}
if (gpio_is_valid(max9768->mute_gpio)) {
- ret = snd_soc_add_controls(codec, max9768_mute,
+ ret = snd_soc_add_co
dec_co
ntrols(codec, max9768_mute,
ARRAY_SIZE(max9768_mute));
if (ret)
return ret;