diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-07-15 09:12:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 23:29:20 +0200 |
commit | d6f8d5b4422a5a391c02df97af9ef7da5a929d71 (patch) | |
tree | 2e7f3844566aa088e1c5b5d0862ecc94ddc8cf6f /sound/soc/sh | |
parent | ASoC: rsnd: src: make sure SRC soft reset (diff) | |
download | linux-d6f8d5b4422a5a391c02df97af9ef7da5a929d71.tar.xz linux-d6f8d5b4422a5a391c02df97af9ef7da5a929d71.zip |
ASoC: rsnd: enable module multi connection
'8a4e379b54f8("ASoC: rsnd: remove io from rsnd_mod")' removed mod/io
relationship. rsnd_dai_connect() mod/io check is no longer needed
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/rcar/core.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index d44bfb79779a..ff4f15a2666a 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -277,16 +277,6 @@ static int rsnd_dai_connect(struct rsnd_mod *mod, if (!mod) return -EIO; - if (io->mod[mod->type]) { - struct rsnd_priv *priv = rsnd_mod_to_priv(mod); - struct device *dev = rsnd_priv_to_dev(priv); - - dev_err(dev, "%s[%d] is not empty\n", - rsnd_mod_name(mod), - rsnd_mod_id(mod)); - return -EIO; - } - io->mod[mod->type] = mod; return 0; |