Skip to content

Commit 21385ee

Browse files
author
Peter Ujfalusi
committed
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: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent ff593ca commit 21385ee

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎sound/soc/codecs/twl6040.c‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,24 @@ static struct snd_soc_dai_ops twl6040_dai_ops = {
14631463
};
14641464

14651465
static struct snd_soc_dai_driver twl6040_dai[] = {
1466+
{
1467+
.name = "twl6040-hifi",
1468+
.playback = {
1469+
.stream_name = "Playback",
1470+
.channels_min = 1,
1471+
.channels_max = 2,
1472+
.rates = TWL6040_RATES,
1473+
.formats = TWL6040_FORMATS,
1474+
},
1475+
.capture = {
1476+
.stream_name = "Capture",
1477+
.channels_min = 1,
1478+
.channels_max = 2,
1479+
.rates = TWL6040_RATES,
1480+
.formats = TWL6040_FORMATS,
1481+
},
1482+
.ops = &twl6040_dai_ops,
1483+
},
14661484
{
14671485
.name = "twl6040-ul",
14681486
.capture = {

0 commit comments

Comments
 (0)