diff options
author | Mans Rullgard <mans@mansr.com> | 2016-01-25 12:36:43 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-25 15:50:05 +0000 |
commit | 51b2bb3f2568e6d9d81a001d38b8d70c2ba4af99 (patch) | |
tree | 109b339a097cc34446f01b63119fbce9c5906450 /include/sound/pcm_oss.h | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
ASoC: wm8974: configure pll and mclk divider automatically
This adds a set_sysclk() DAI op so the card driver can set the
input clock frequency. If this is done, the pll and mclk divider
are configured to produce the required 256x fs clock when the
sample rate is set by hw_params().
These additions make the codec work with the simple-card driver.
Card drivers calling set_pll() and set_clkdiv() directly are
unaffected.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/pcm_oss.h')
0 files changed, 0 insertions, 0 deletions