ASoC: rsnd: fixup reset timing of sync convert_rate
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 2 Feb 2017 05:01:05 +0000 (05:01 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 3 Feb 2017 11:24:23 +0000 (12:24 +0100)
commitef30da1c52c633a6eaa017ad0d075aaa809a6154
tree30dc7beeec45ec3f07f654543b2301a0e88226f5
parent90ffc1ecc500c04bf43a45d804bb151505c0d6a6
ASoC: rsnd: fixup reset timing of sync convert_rate

Sync convert rate settings should be availabled *after* Playing.
Thus, src->sync should be reset first of init function.
Otherwise, it will set remaining settings when it start playing.
This patch fixes it. Thanks to Yokoyama-san

Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/src.c