diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-11-28 08:50:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-02 11:48:54 +0000 |
commit | 7e6d18ac7ea1372b462778ff7c416ceaabe71b66 (patch) | |
tree | a9a969c8f2d201197f96e2c5f493cfdf430f8a62 /sound/soc/fsl/imx-ssi.c | |
parent | 75ab73bc5d0e625e9d886653ec98d0e9d6ad4c68 (diff) | |
download | linux-7e6d18ac7ea1372b462778ff7c416ceaabe71b66.tar.bz2 |
ASoC: fsl: Use devm_snd_dmaengine_pcm_register()
Makes the code shorter.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-ssi.c')
-rw-r--r-- | sound/soc/fsl/imx-ssi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index f5f248c91c16..cc7376f87f88 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c @@ -624,9 +624,6 @@ static int imx_ssi_remove(struct platform_device *pdev) { struct imx_ssi *ssi = platform_get_drvdata(pdev); - if (!ssi->dma_init) - imx_pcm_dma_exit(pdev); - if (!ssi->fiq_init) imx_pcm_fiq_exit(pdev); |