OSDN Git Service

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)
commitbccf9c7e14830af0004399d42d861b33c92eacff
tree70bd04b6e8e007984b92f5f677385645365e71cc
parent90f6e68031397fb6212bef5619193cd15707fa0f
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