]> git.karo-electronics.de Git - linux-beck.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>
Mon, 2 Mar 2015 16:19:46 +0000 (16:19 +0000)
commitea232b3f7233f9242e5a1287377fedb6972dfea4
tree419e013da85452004f200ef4bcc0113a833a43e0
parent3aebec3a701e70d6fe2816891e5abea066492779
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