ASoC: atmel_ssc_dai: make option to choose clock
authorBo Shen <voice.shen@atmel.com>
Mon, 10 Feb 2014 06:09:45 +0000 (14:09 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 12 Feb 2014 17:21:22 +0000 (17:21 +0000)
commit048d4ff81f1cf26b3f3627a9a69d35aff7898bb3
tree694e6f6a08952f43c704693523984a3d8414d3eb
parent38dbfb59d1175ef458d006556061adeaa8751b72
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>
drivers/misc/atmel-ssc.c
include/linux/atmel-ssc.h
sound/soc/atmel/atmel_ssc_dai.c