]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ASoC: mxs: register saif mclk to clock framework
authorShawn Guo <shawn.guo@linaro.org>
Mon, 1 Jul 2013 08:16:10 +0000 (16:16 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 1 Jul 2013 10:12:20 +0000 (11:12 +0100)
commit7c9e6150f2e7cbd60e0bc9a19118ca1dc97d2780
tree7956944a101488724bea59c15c7db7bcc2fa606a
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376
ASoC: mxs: register saif mclk to clock framework

Mostly the mxs system design uses saif0 mclk output as the clock source
of codec.  Since the mclk is implemented as a general divider with the
saif clk as the parent clock, let's register the mclk as a basic
clk-divider to common clock framework.  Then with it being a clock
provdier, clk_get() call in codec driver probe function will just work.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/mxs/mxs-saif.c