linux-omap 2.6.37: sync with OE .dev
[glsdk/meta-ti-glsdk.git] / recipes-bsp / linux / linux-omap / 0001-xM-audio-fix-from-Ashok.patch
1 From d53f988fc10fe22ec7e64457eac22f264bb72491 Mon Sep 17 00:00:00 2001
2 From: Robert Nelson <robertcnelson@gmail.com>
3 Date: Thu, 13 Jan 2011 11:37:56 -0600
4 Subject: [PATCH] xM audio fix from Ashok
6 Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
7 ---
8  sound/soc/omap/omap-mcbsp.c |    3 +++
9  1 files changed, 3 insertions(+), 0 deletions(-)
11 diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
12 index 7e84f24..1038686 100644
13 --- a/sound/soc/omap/omap-mcbsp.c
14 +++ b/sound/soc/omap/omap-mcbsp.c
15 @@ -332,6 +332,9 @@ static int omap_mcbsp_dai_hw_params(struct snd_pcm_substream *substream,
16         } else if (cpu_is_omap343x()) {
17                 dma = omap24xx_dma_reqs[bus_id][substream->stream];
18                 port = omap34xx_mcbsp_port[bus_id][substream->stream];
19 +       } else if (cpu_is_omap3630()) {
20 +               dma = omap24xx_dma_reqs[bus_id][substream->stream];
21 +               port = omap34xx_mcbsp_port[bus_id][substream->stream];
22         } else {
23                 return -ENODEV;
24         }
25 -- 
26 1.7.1