summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorZidan Wang <zidan.wang@freescale.com>2015-06-25 19:07:58 +0800
committerZidan Wang <zidan.wang@freescale.com>2015-06-25 19:13:26 +0800
commitb716d56d346993af3736b609c597d15ae86e4b75 (patch)
tree03da138a157c28b4f97267f5f8b5dee9aa728c80 /sound
parent082b1a82caad5141de34b77e78e719cb311d13db (diff)
MLK-11169 ASoC: fsl_sai: using special pcm config for IMX series
Using special pcm config for IMX series. The dafault pcm config is using 512K DMA Buffer which will cause allocating from OCRAM failed. The special pcm config will using 64K DMA buffer. Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_sai.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index b52fd7d121ff..78c8fbfd65ea 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -734,10 +734,9 @@ static int fsl_sai_probe(struct platform_device *pdev)
sai->pdev = pdev;
- if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai"))
- sai->sai_on_imx = true;
-
- if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-sai"))
+ if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai") ||
+ of_device_is_compatible(pdev->dev.of_node, "fsl,imx6ul-sai") ||
+ of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-sai"))
sai->sai_on_imx = true;
sai->is_lsb_first = of_property_read_bool(np, "lsb-first");