ASoC: ti: davinci-mcasp: Specify stream_name for playback/capture
In order to dai stream widgets to be created the stream_name must be set. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20200630125843.11561-2-peter.ujfalusi@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
351cf7445f
commit
ef3ab250aa
|
@ -1623,12 +1623,14 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = {
|
||||||
.name = "davinci-mcasp.0",
|
.name = "davinci-mcasp.0",
|
||||||
.probe = davinci_mcasp_dai_probe,
|
.probe = davinci_mcasp_dai_probe,
|
||||||
.playback = {
|
.playback = {
|
||||||
|
.stream_name = "IIS Playback",
|
||||||
.channels_min = 1,
|
.channels_min = 1,
|
||||||
.channels_max = 32 * 16,
|
.channels_max = 32 * 16,
|
||||||
.rates = DAVINCI_MCASP_RATES,
|
.rates = DAVINCI_MCASP_RATES,
|
||||||
.formats = DAVINCI_MCASP_PCM_FMTS,
|
.formats = DAVINCI_MCASP_PCM_FMTS,
|
||||||
},
|
},
|
||||||
.capture = {
|
.capture = {
|
||||||
|
.stream_name = "IIS Capture",
|
||||||
.channels_min = 1,
|
.channels_min = 1,
|
||||||
.channels_max = 32 * 16,
|
.channels_max = 32 * 16,
|
||||||
.rates = DAVINCI_MCASP_RATES,
|
.rates = DAVINCI_MCASP_RATES,
|
||||||
|
@ -1642,6 +1644,7 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = {
|
||||||
.name = "davinci-mcasp.1",
|
.name = "davinci-mcasp.1",
|
||||||
.probe = davinci_mcasp_dai_probe,
|
.probe = davinci_mcasp_dai_probe,
|
||||||
.playback = {
|
.playback = {
|
||||||
|
.stream_name = "DIT Playback",
|
||||||
.channels_min = 1,
|
.channels_min = 1,
|
||||||
.channels_max = 384,
|
.channels_max = 384,
|
||||||
.rates = DAVINCI_MCASP_RATES,
|
.rates = DAVINCI_MCASP_RATES,
|
||||||
|
|
Loading…
Reference in New Issue