mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
ASoC: tegra-alt: Allow mono in dai params
Allow mono config in dai params where missing. Required for BT SCO where user space needs to open alsa device with mono config Bug 200032907 Change-Id: I2456700ea618dbf84ecece1cf45e67a6a9b14616 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/499374 Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com> Tested-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
This commit is contained in:
committed by
Sameer Pujar
parent
0b660ae855
commit
e0d96a36e9
@@ -402,14 +402,14 @@ static int tegra210_admaif_dai_probe(struct snd_soc_dai *dai)
|
||||
.probe = tegra210_admaif_dai_probe, \
|
||||
.playback = { \
|
||||
.stream_name = "Playback " #id, \
|
||||
.channels_min = 2, \
|
||||
.channels_min = 1, \
|
||||
.channels_max = 2, \
|
||||
.rates = SNDRV_PCM_RATE_8000_96000, \
|
||||
.formats = SNDRV_PCM_FMTBIT_S16_LE, \
|
||||
}, \
|
||||
.capture = { \
|
||||
.stream_name = "Capture " #id, \
|
||||
.channels_min = 2, \
|
||||
.channels_min = 1, \
|
||||
.channels_max = 2, \
|
||||
.rates = SNDRV_PCM_RATE_8000_96000, \
|
||||
.formats = SNDRV_PCM_FMTBIT_S16_LE, \
|
||||
|
||||
@@ -94,14 +94,14 @@ static int tegra210_xbar_codec_probe(struct snd_soc_codec *codec)
|
||||
.name = #sname, \
|
||||
.playback = { \
|
||||
.stream_name = #sname " Receive", \
|
||||
.channels_min = 2, \
|
||||
.channels_min = 1, \
|
||||
.channels_max = 2, \
|
||||
.rates = SNDRV_PCM_RATE_8000_96000, \
|
||||
.formats = SNDRV_PCM_FMTBIT_S16_LE, \
|
||||
}, \
|
||||
.capture = { \
|
||||
.stream_name = #sname " Transmit", \
|
||||
.channels_min = 2, \
|
||||
.channels_min = 1, \
|
||||
.channels_max = 2, \
|
||||
.rates = SNDRV_PCM_RATE_8000_96000, \
|
||||
.formats = SNDRV_PCM_FMTBIT_S16_LE, \
|
||||
|
||||
Reference in New Issue
Block a user