summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-ssi.h
diff options
context:
space:
mode:
authorPhilippe Rétornaz <philippe.retornaz@epfl.ch>2013-10-01 14:36:10 +0200
committerMark Brown <broonie@linaro.org>2013-10-07 11:17:44 +0100
commit5a6e19bedb13522924f5ee72c1f65b0fb5d33bc0 (patch)
treed000b755f9334518a0269fde43193d30ab7dcc45 /sound/soc/fsl/imx-ssi.h
parent1d73ad298d1bfeee5d77c19e5cd667c551e30632 (diff)
ASoC: fsl: imx-ssi: fix probe on imx31
On imx31 with mc13783 codec the FIQ is not necessary and not enabled as DMA transfer is available. Change the probe() function to fail only if both FIQ and DMA are not available. Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-ssi.h')
-rw-r--r--sound/soc/fsl/imx-ssi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-ssi.h b/sound/soc/fsl/imx-ssi.h
index fb1616ba8c59..560c40fc9ebb 100644
--- a/sound/soc/fsl/imx-ssi.h
+++ b/sound/soc/fsl/imx-ssi.h
@@ -211,6 +211,8 @@ struct imx_ssi {
struct imx_dma_data filter_data_rx;
struct imx_pcm_fiq_params fiq_params;
+ int fiq_init;
+ int dma_init;
int enabled;
};