]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffdd6a2a5ee1309889861b0d819f4463d761a672
tree8664dcd58585cf18bcf871df5e052dc425665b5c
parenteb355d42adf6c755202c0cac78b8da4b4e2d3810
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