From: Peter Ujfalusi Date: Tue, 5 Jul 2011 19:35:53 +0000 (+0300) Subject: ASoC: twl6040: Add back support for legacy mode X-Git-Tag: firefly_0821_release~3680^2~4840^2^3^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=21385eeb02e59cb2a72b60cd146f9c1ce3cb0acd;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Mark Brown --- diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 8784395c29d7..342c5a3c5270 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -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 = {