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:
379febf
)
ASoC: rsnd: enable module multi connection
author
Kuninori Morimoto
<
[email protected]
>
Wed, 15 Jul 2015 07:12:36 +0000
(07:12 +0000)
committer
Mark Brown
<
[email protected]
>
Thu, 16 Jul 2015 21:29:20 +0000
(22:29 +0100)
'
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 <
[email protected]
>
Tested-by: Keita Kobayashi <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
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 d44bfb79779a19880de08e10a60dba6e0effe8fe..ff4f15a2666a3207b5f314976b29a5d035919523 100644
(file)
--- 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;