summaryrefslogtreecommitdiff
path: root/sound/soc/omap/rx51.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-04-28 16:07:23 +0200
committerMark Brown <broonie@linaro.org>2014-05-01 10:54:34 -0700
commit0a17a37046dbd55204b00fee6e270c8008ace56b (patch)
tree88187b56d77cb8a368de9f5769ff7af44e68d421 /sound/soc/omap/rx51.c
parenta7d52028551b8be6eaeac93ade8fccba9783c682 (diff)
ASoC: omap: rx51: omap_mcbsp_st_add_controls: add id parameter
This is a preparation for DT based booting where the McBSP id is set to -1 for all McBSP instances. Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/omap/rx51.c')
-rw-r--r--sound/soc/omap/rx51.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c
index bbe3a66e9102..e140b1b2bdf1 100644
--- a/sound/soc/omap/rx51.c
+++ b/sound/soc/omap/rx51.c
@@ -297,7 +297,7 @@ static int rx51_aic34_init(struct snd_soc_pcm_runtime *rtd)
return err;
snd_soc_limit_volume(codec, "TPA6130A2 Headphone Playback Volume", 42);
- err = omap_mcbsp_st_add_controls(rtd);
+ err = omap_mcbsp_st_add_controls(rtd, 2);
if (err < 0)
return err;