ASoC: Implement support for CLK_POUT as MCLK on Zylonite
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 16 Jan 2009 16:35:52 +0000 (16:35 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Jan 2009 16:15:35 +0000 (16:15 +0000)
commit2c782f5981a022f7a238d550af5daa75c8acf382
tree53e44b9e096e31634f45bb1b119bbad9d9d0ef1e
parentc42f69bb064333624dcc1452ed109441c3c9e7b4
ASoC: Implement support for CLK_POUT as MCLK on Zylonite

The Zylonite supports switching the MCLK for the WM9713 between the
AC97CLK and CLK_POUT outputs of the PXA processor via switch SW15 on
the board. This patch adds support for configuring the system to use
CLK_POUT.

Unfortunately it is not possible to read the state of SW15 from software
so this feature is controlled by a module option 'clk_pout' which should
be set to a non-zero value to enable the use of CLK_POUT.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/zylonite.c