diff options
| -rw-r--r-- | sound/soc/codecs/twl6040.c | 18 |
1 files changed, 18 insertions, 0 deletions
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 | |||
| @@ -1464,6 +1464,24 @@ static struct snd_soc_dai_ops twl6040_dai_ops = { | |||
| 1464 | 1464 | ||
| 1465 | static struct snd_soc_dai_driver twl6040_dai[] = { | 1465 | static struct snd_soc_dai_driver twl6040_dai[] = { |
| 1466 | { | 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 | }, | ||
| 1484 | { | ||
| 1467 | .name = "twl6040-ul", | 1485 | .name = "twl6040-ul", |
| 1468 | .capture = { | 1486 | .capture = { |
| 1469 | .stream_name = "Capture", | 1487 | .stream_name = "Capture", |
