ASoC: simple-card: Support setting mclk via a fixed factor
authorAndrew Lunn <andrew@lunn.ch>
Thu, 22 May 2014 15:31:49 +0000 (17:31 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 26 May 2014 13:29:30 +0000 (14:29 +0100)
commit2942a0e285c46587a1025f12597df63ec04d08c6
tree4376a294b4b8be8093b46650a9c0a3e26873a460
parent648722155dc081b019ab0ef548bbebde760a2b83
ASoC: simple-card: Support setting mclk via a fixed factor

Some platforms require that the codecs mclk is a fixed multiplication
factor of the audio stream rate. Add a optional property to the
binding to hold this factor and implement a hw_params() function to
make use of it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/sound/simple-card.txt
sound/soc/generic/simple-card.c