]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: rt5670: add API to select ASRC clock source
authorMengdong Lin <mengdong.lin@intel.com>
Wed, 7 Jan 2015 02:19:12 +0000 (10:19 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jan 2015 17:40:01 +0000 (17:40 +0000)
commite8c47ba3cadcc3649f18e4710804bb6c3791eac2
tree0d9259b7d69443746d1d28236bff758b0c824adc
parentb7ed9f1d26f04272127a98248338177e5bac233e
ASoC: rt5670: add API to select ASRC clock source

When codec is in slave mode, ASRC can suppress noise for asynchronous
MCLK and LRCLK or special I2S format. This patch defines an API to select
the clock source for specified filters.  And the codec driver will turn on ASRC
for these filters if ASRC is selected as their clock source.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5670.c
sound/soc/codecs/rt5670.h