ASoC: rsnd: Parent SSI attach is not needed if not clock master
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 18 Feb 2016 08:17:52 +0000 (08:17 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 15:53:02 +0000 (00:53 +0900)
commit098bd8911a5eacc3b70fdc09fa4084657511c584
tree8664dcd58585cf18bcf871df5e052dc425665b5c
parent0dc6bf75023a42895962800020583c19e0b87159
ASoC: rsnd: Parent SSI attach is not needed if not clock master

Parent SSI is needed if it is PIN sharing and clock master,
otherwise, not needed. But, whether clockk master is judged on
.set_fmt, thus, it can't call rsnd_ssi_parent_attach() on .probe.

Now, .pcm_new will be called after .set_fmt, so this patch reuses it
at this point.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c