]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl_spdif: Use clk_set_rate() for spdif root clock only
authorNicolin Chen <Guangyu.Chen@freescale.com>
Wed, 30 Apr 2014 10:54:05 +0000 (18:54 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:49 +0000 (21:16 -0600)
commit1e41b8775f68cac49f2c03944ffb56b899ff3057
tree20645b6eb7faa6417135e6f6d1e6ff32625a6da7
parentf84d4154ba09ecb87624e1129ccb4874b4048005
ASoC: fsl_spdif: Use clk_set_rate() for spdif root clock only

The clock mux for the Freescale S/PDIF controller has eight clock sources
while most of them are from other moudles and even system clocks that do
not allow a rate-changing operation.

So we here only allow the clk_set_rate() and clk_round_rate() happened to
spdif root clock, the private clock for S/PDIF controller.

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