diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-08-11 14:25:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-11 19:11:52 +0300 |
commit | 3176bf2d7ccd64da9be7b07036e0ba8293179906 (patch) | |
tree | e82349c7447e81c9aa3e7f75f0bfce4bfa7ad33f /sound/soc/codecs/wm8940.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-3176bf2d7ccd64da9be7b07036e0ba8293179906.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/wm8940.c')
0 files changed, 0 insertions, 0 deletions