]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2770: Fix required DT properties in the code
authorDan Murphy <dmurphy@ti.com>
Fri, 18 Sep 2020 19:05:43 +0000 (14:05 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 19:40:53 +0000 (20:40 +0100)
commit6eeb962191892bbc9779c95bb7055147713466f6
treecc8cec16135c82c67630e66e49ad915ff99a149e
parent452abb2c8b81be7d9fe401840ff42d1b7b21881a
ASoC: tas2770: Fix required DT properties in the code

The devicetree binding indicates that the ti,asi-format, ti,imon-slot-no
and ti,vmon-slot-no are not required but the driver requires them or it
fails to probe. Honor the binding and allow these entries to be optional
and set the corresponding values to the default values for each as defined
in the data sheet.

Fixes: 8c41a7cb58973 ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200918190548.12598-4-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c