diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-02-10 14:09:45 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-12 17:21:22 +0000 |
commit | 048d4ff81f1cf26b3f3627a9a69d35aff7898bb3 (patch) | |
tree | 694e6f6a08952f43c704693523984a3d8414d3eb /include/linux/atmel-ssc.h | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | lwn-048d4ff81f1cf26b3f3627a9a69d35aff7898bb3.tar.gz lwn-048d4ff81f1cf26b3f3627a9a69d35aff7898bb3.zip |
ASoC: atmel_ssc_dai: make option to choose clock
When SSC works in slave mode, according to the hardware design, the
clock can get from TK pin, also can get from RK pin. So, add one
parameter to choose where the clock from.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/atmel-ssc.h')
-rw-r--r-- | include/linux/atmel-ssc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/atmel-ssc.h b/include/linux/atmel-ssc.h index 66a0e5384edd..571a12ebb018 100644 --- a/include/linux/atmel-ssc.h +++ b/include/linux/atmel-ssc.h @@ -18,6 +18,7 @@ struct ssc_device { struct clk *clk; int user; int irq; + bool clk_from_rk_pin; }; struct ssc_device * __must_check ssc_request(unsigned int ssc_num); |