Skip to content

Commit

Permalink
ASoC: rsnd: enable module multi connection
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Jul 16, 2015
1 parent 379febf commit d6f8d5b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sound/soc/sh/rcar/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6f8d5b

Please sign in to comment.