diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-03-03 20:50:33 -0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-05 14:07:52 +0800 |
commit | 7681f6ac6b6338932621f842d68e54f6267b785f (patch) | |
tree | 71970ac5d695d998e6c00de82590e293c04f82b8 /sound/soc/sh/rcar/rsnd.h | |
parent | 221bf523e31306c1095b28932e079950108e3887 (diff) | |
download | op-kernel-dev-7681f6ac6b6338932621f842d68e54f6267b785f.zip op-kernel-dev-7681f6ac6b6338932621f842d68e54f6267b785f.tar.gz |
ASoC: rsnd: add probe/remove callback on rsnd_mod_ops
Each rsnd mod needs specific probe method,
and its best timing is DAI probe timing.
But current code runs it mod probe timing.
This patch adds new probe/remove callback to solve it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/sh/rcar/rsnd.h')
-rw-r--r-- | sound/soc/sh/rcar/rsnd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index 9205f96..db20b37 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -167,6 +167,12 @@ enum rsnd_mod_type { struct rsnd_mod_ops { char *name; + int (*probe)(struct rsnd_mod *mod, + struct rsnd_dai *rdai, + struct rsnd_dai_stream *io); + int (*remove)(struct rsnd_mod *mod, + struct rsnd_dai *rdai, + struct rsnd_dai_stream *io); int (*init)(struct rsnd_mod *mod, struct rsnd_dai *rdai, struct rsnd_dai_stream *io); |