]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: ad193x: Add runtime support for DSP_A and I2S modes
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 18 Feb 2019 16:10:34 +0000 (16:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 18 Feb 2019 17:41:29 +0000 (17:41 +0000)
commitd3fcbd725dc3d5cf464d4cdb10235a877d7bae08
tree70bd04b6e8e007984b92f5f677385645365e71cc
parent4e99e0dc3859993923c0c36b3f441740ea8c5863
ASoC: codecs: ad193x: Add runtime support for DSP_A and I2S modes

The driver only supports DPS_A for DAC, which is configured at probe.
This patch adds support for DSP_A and I2S modes by using the set_fmt()
callback.

A trivial break is also removed from a case's default branch.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ad193x.c