diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-09-05 13:52:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-09-05 13:52:16 -0400 |
commit | 85488037bb9b533b064be66412dbe1dbcd2734d9 (patch) | |
tree | 844445f441b716130aaa4ba08d02a8ec3ba04e72 /sound/soc/imx | |
parent | 367da1527aff2a4f789d03082f9fb191cdf332c4 (diff) |
ASoC: Add source argument to PLL configuration
More and more devices feature PLLs and FLLs with the ability to select
between multiple input clocks. In order to better support these devices
a new argument, source, has been added to the set_pll() configuration
API. Using set_clkdiv() is often difficult due to the need to stop the
PLL/FLL before any reconfiguration can be done.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/imx')
-rw-r--r-- | sound/soc/imx/mx27vis_wm8974.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/mx27vis_wm8974.c b/sound/soc/imx/mx27vis_wm8974.c index e4dcb539108a..0267d2d91685 100644 --- a/sound/soc/imx/mx27vis_wm8974.c +++ b/sound/soc/imx/mx27vis_wm8974.c | |||
@@ -157,7 +157,7 @@ static int mx27vis_hifi_hw_params(struct snd_pcm_substream *substream, | |||
157 | 157 | ||
158 | 158 | ||
159 | /* codec PLL input is 25 MHz */ | 159 | /* codec PLL input is 25 MHz */ |
160 | ret = codec_dai->ops->set_pll(codec_dai, IGNORED_ARG, | 160 | ret = codec_dai->ops->set_pll(codec_dai, IGNORED_ARG, IGNORED_ARG, |
161 | 25000000, pll_out); | 161 | 25000000, pll_out); |
162 | if (ret < 0) { | 162 | if (ret < 0) { |
163 | printk(KERN_ERR "Error when setting PLL input\n"); | 163 | printk(KERN_ERR "Error when setting PLL input\n"); |