Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21385eeb authored by Peter Ujfalusi's avatar Peter Ujfalusi
Browse files

ASoC: twl6040: Add back support for legacy mode



The legacy mode has been accidentaly removed by commit:
ASoC: twl6040: add all ABE DAIs

Add back the twl6040-hifi dai.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent ff593ca1
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1463,6 +1463,24 @@ static struct snd_soc_dai_ops twl6040_dai_ops = {
};

static struct snd_soc_dai_driver twl6040_dai[] = {
{
	.name = "twl6040-hifi",
	.playback = {
		.stream_name = "Playback",
		.channels_min = 1,
		.channels_max = 2,
		.rates = TWL6040_RATES,
		.formats = TWL6040_FORMATS,
	},
	.capture = {
		.stream_name = "Capture",
		.channels_min = 1,
		.channels_max = 2,
		.rates = TWL6040_RATES,
		.formats = TWL6040_FORMATS,
	},
	.ops = &twl6040_dai_ops,
},
{
	.name = "twl6040-ul",
	.capture = {