ASoC: davinci-mcasp: Implement configurable dismod handling
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 16 Nov 2018 13:41:41 +0000 (15:41 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Nov 2018 12:41:31 +0000 (12:41 +0000)
commitbc184549853133303cf08d1f19477f9c87ef39fb
tree878e828a16741b9b0f71067fb8c9a8c6e11f5853
parenta3641b30c19b93b1298028a7210b55145e70056c
ASoC: davinci-mcasp: Implement configurable dismod handling

If the dismod is specified in the DT node, use the specified custom value
to configure the drive on state of the inactive TX slots.

If the dismod is not present or booted in legacy mode, the dismod is set
to low as it was the original behavior.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/platform_data/davinci_asp.h
sound/soc/davinci/davinci-mcasp.c
sound/soc/davinci/davinci-mcasp.h