diff options
author | Frank Li <Frank.Li@freescale.com> | 2010-09-08 12:54:05 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2010-09-08 12:58:10 +0800 |
commit | 30eea023a33152159c835d4d5c2d14213bca7210 (patch) | |
tree | bb3530d962a8f4bd990499a837bae3c18be8604c /sound/soc/mxs/mxs-adc.c | |
parent | 2ef468274d93cc9069a5020578a6d9cb349dbc99 (diff) |
ENGR00127270 ALSA: Fix 35kernel upgrade cause DMA request fail
Fix DMA request fail.
Fix warning when request irq.
35kernel check proc pathname when request irq.
char "/" is path split char.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'sound/soc/mxs/mxs-adc.c')
-rw-r--r-- | sound/soc/mxs/mxs-adc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/mxs/mxs-adc.c b/sound/soc/mxs/mxs-adc.c index cd5e93ce9d67..0ea70d5e0351 100644 --- a/sound/soc/mxs/mxs-adc.c +++ b/sound/soc/mxs/mxs-adc.c @@ -342,7 +342,7 @@ static int mxs_adc_startup(struct snd_pcm_substream *substream, snd_soc_dai_set_dma_data(dai, substream, &mxs_audio_in); } - ret = request_irq(irq, mxs_err_irq, 0, "MXS DAC/ADC Error", + ret = request_irq(irq, mxs_err_irq, 0, "MXS DAC and ADC Error", substream); if (ret) { printk(KERN_ERR "%s: Unable to request ADC/DAC error irq %d\n", @@ -352,7 +352,7 @@ static int mxs_adc_startup(struct snd_pcm_substream *substream, irq_short = IRQ_HEADPHONE_SHORT; ret = request_irq(irq_short, mxs_short_irq, - IRQF_DISABLED | IRQF_SHARED, "MXS DAC/ADC HP SHORT", substream); + IRQF_DISABLED | IRQF_SHARED, "MXS DAC and ADC HP SHORT", substream); if (ret) { printk(KERN_ERR "%s: Unable to request ADC/DAC HP SHORT irq %d\n", __func__, IRQ_DAC_ERROR); |