aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/omap/omap-mcbsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 2e1750e2ab31..20d30c9ae573 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -722,7 +722,7 @@ int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd)
722 if (!mcbsp->st_data) 722 if (!mcbsp->st_data)
723 return -ENODEV; 723 return -ENODEV;
724 724
725 switch (cpu_dai->id) { 725 switch (mcbsp->id) {
726 case 2: /* McBSP 2 */ 726 case 2: /* McBSP 2 */
727 return snd_soc_add_dai_controls(cpu_dai, 727 return snd_soc_add_dai_controls(cpu_dai,
728 omap_mcbsp2_st_controls, 728 omap_mcbsp2_st_controls,