projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c001f3
)
ASoC: rsnd: try to connect connected mod is not error
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 21 Jan 2016 01:56:36 +0000
(
01:56
+0000)
committer
Mark Brown
<broonie@kernel.org>
Fri, 22 Jan 2016 17:12:25 +0000
(17:12 +0000)
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>
sound/soc/sh/rcar/core.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/core.c
b/sound/soc/sh/rcar/core.c
index 3eb7e9a7b5dc7b2675fcb32904e9b647f7862578..ad97ce3ae844af4ee96df665772e611a3b4428c3 100644
(file)
--- a/
sound/soc/sh/rcar/core.c
+++ b/
sound/soc/sh/rcar/core.c
@@
-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;