aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/omap/omap-mcbsp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 35310e16d7f3..fb920e1b551e 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -245,6 +245,11 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
245 regs->rcr2 |= RDATDLY(1); 245 regs->rcr2 |= RDATDLY(1);
246 regs->xcr2 |= XDATDLY(1); 246 regs->xcr2 |= XDATDLY(1);
247 break; 247 break;
248 case SND_SOC_DAIFMT_DSP_A:
249 /* 0-bit data delay */
250 regs->rcr2 |= RDATDLY(0);
251 regs->xcr2 |= XDATDLY(0);
252 break;
248 default: 253 default:
249 /* Unsupported data format */ 254 /* Unsupported data format */
250 return -EINVAL; 255 return -EINVAL;