ASoC: da7213: Add support to handle mclk data provided to driver
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Wed, 7 Oct 2015 13:27:11 +0000 (14:27 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Oct 2015 14:11:34 +0000 (15:11 +0100)
commit6e7c444318699496e6e6f30c875cf67534aeccc6
tree0b9beecf8772bd3047029e6a1f73bd40adde2ed4
parente90996a3ea224fbeb459b8052ecd366d7990e1f3
ASoC: da7213: Add support to handle mclk data provided to driver

Driver now can make use of mclk data, if provided, to set, enable
and disable the clock source. As part of this, the choice to
enable clock squaring is dealt with as part of dai_sysclk() call
rather than as platform data.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/da7213.h
sound/soc/codecs/da7213.c
sound/soc/codecs/da7213.h