ASoC: wm8960: update pll and clock setting function
authorZidan Wang <zidan.wang@freescale.com>
Tue, 11 Aug 2015 11:25:15 +0000 (19:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 11 Aug 2015 16:11:52 +0000 (17:11 +0100)
commit3176bf2d7ccd64da9be7b07036e0ba8293179906
treee82349c7447e81c9aa3e7f75f0bfce4bfa7ad33f
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: wm8960: update pll and clock setting function

Add sysclk auto mode. When it's sysclk auto mode, if the MCLK is
available for clock configure, using MCLK to provide sysclk directly,
otherwise, search a available pll out frequcncy and set pll.

Configure clock in hw_params may cause problems when using bypass style
paths without hw_params in machine driver getting called. So add configure
clock to set_bias_level.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8960.c
sound/soc/codecs/wm8960.h
This page took 0.02803 seconds and 5 git commands to generate.