]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl_spdif: Add sysclk df support to derive txclk from sysclk
authorNicolin Chen <Guangyu.Chen@freescale.com>
Wed, 30 Apr 2014 10:54:07 +0000 (18:54 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:50 +0000 (21:16 -0600)
commit2fd3ceede550e30cee3af55637fee18ac3de5314
treea4e3611704789988675d7091d5124e2a42e19a2a
parente4315b3b8a6a8795050870c92413921f168b5738
ASoC: fsl_spdif: Add sysclk df support to derive txclk from sysclk

The sysclk is one the clock sources that could be selected to derive
tx clock. But the route for sysclk is a bit different that it does
not only contain txclk df divider but also have an extra sysclk df.

So this patch mainly adds syclk df configuration support so as to
let the driver be able to get clock from sysclk.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 27c647bff20c6883dd0b4e3fc24c3d414a9e192a)
sound/soc/fsl/fsl_spdif.c