mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
ASoC: rsnd: try to connect connected mod is not error
If system uses CTU/MUX, CTU/MUX/DVC will try to connect same CMD to system, but it is not error in this case. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6c001f3ab4
commit
bfa3119c38
@ -369,6 +369,9 @@ int rsnd_dai_connect(struct rsnd_mod *mod,
|
||||
if (!mod)
|
||||
return -EIO;
|
||||
|
||||
if (io->mod[type] == mod)
|
||||
return 0;
|
||||
|
||||
if (io->mod[type])
|
||||
return -EINVAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user