ASoC: rt5670: Keep sysclk on if JD func is used
authorBard Liao <bardliao@realtek.com>
Mon, 15 Dec 2014 07:42:34 +0000 (15:42 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2014 18:44:14 +0000 (18:44 +0000)
System clock is necessary for rt5670 JD function. We assume system
clock source will be set in machine driver. So there are two things
left we should do in codec driver.
1. Set sysclk to codec internal clock in probe since machine driver
   may not do that before JD function is registered.
2. Power up PLL once sysclk source is switched to PLL.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found