summary refs log tree commit diff
path: root/sound/ac97
diff options
context:
space:
mode:
authorKirill Marinushkin <kmarinushkin@birdec.tech>2019-02-11 07:08:39 +0100
committerMark Brown <broonie@kernel.org>2019-02-11 16:01:31 +0000
commit1e61405e201515d5767106babb4d750661ba5dcd (patch)
treed5f19acbd3edfae1d4daace9cacef8c4910196e8 /sound/ac97
parenta3daee085905e97ba20e6b9e72e6639fa518209c (diff)
downloadlinux-1e61405e201515d5767106babb4d750661ba5dcd.tar.gz
ASoC: pcm3060: Add clock select
ADC and DAC can be clocked from separate or same sources CLK1 and CLK2.
By default, ADC is clocked from CLK1, and DAC - from CLK2.

This commits allows sound cards to selest a proper clock source during
`hw_params()` via `snd_soc_dai_set_sysclk()`. It makes possible to have a
single clock source for both ADC and DAC.

Signed-off-by: Kirill Marinushkin <kmarinushkin@birdec.tech>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ac97')
0 files changed, 0 insertions, 0 deletions