summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/ssi.c
diff options
context:
space:
mode:
authorKuninori Morimoto2016-10-25 02:36:13 +0200
committerMark Brown2016-10-25 16:02:43 +0200
commitb99305d20122174c9fd0469bae036f0c401999b5 (patch)
treea98193b81b6566ee8bd070c869ec35fb51aebdb7 /sound/soc/sh/rcar/ssi.c
parentASoC: rsnd: add rsnd_parse_of_node() and integrate rsnd_xxx_of_node (diff)
downloadkernel-qcow2-linux-b99305d20122174c9fd0469bae036f0c401999b5.tar.gz
kernel-qcow2-linux-b99305d20122174c9fd0469bae036f0c401999b5.tar.xz
kernel-qcow2-linux-b99305d20122174c9fd0469bae036f0c401999b5.zip
ASoC: rsnd: remove non DT support for DMA
Current Renesas Sound driver is based on DeviceTree, and no one is using this driver from non DT. Non-DT support is no longer needed. Let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/ssi.c')
-rw-r--r--sound/soc/sh/rcar/ssi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index 94a19f975fa2..59cd9824d8a4 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -669,7 +669,6 @@ static int rsnd_ssi_dma_probe(struct rsnd_mod *mod,
struct rsnd_priv *priv)
{
struct rsnd_ssi *ssi = rsnd_mod_to_ssi(mod);
- int dma_id = 0; /* not needed */
int ret;
/*
@@ -684,7 +683,7 @@ static int rsnd_ssi_dma_probe(struct rsnd_mod *mod,
return ret;
/* SSI probe might be called many times in MUX multi path */
- ret = rsnd_dma_attach(io, mod, &ssi->dma, dma_id);
+ ret = rsnd_dma_attach(io, mod, &ssi->dma);
return ret;
}