diff options
author | Caesar Wang <wxt@rock-chips.com> | 2015-11-06 14:38:14 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-16 13:10:24 +0300 |
commit | 2458c37779ddb91b4109949d86f5a5e193ba415b (patch) | |
tree | 8175fc61436a56646e3b1d4f52f77931e550043e /sound/soc/rockchip/rockchip_max98090.c | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | linux-2458c37779ddb91b4109949d86f5a5e193ba415b.tar.xz |
ASoC: rockchip: i2s: change bclk and lrck according to sample rates
This patch sets the dividers autonomously.
when i2s works on master mode, and sample rates changed. We need to change
bclk and lrck at the same time for cpu internal side.
As the input source clock to the module is MCLK_I2S,
and by the divider of the module, the clock generator generates
SCLK and LRCK to transmitter and receiver.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_max98090.c')
0 files changed, 0 insertions, 0 deletions