ASoC: tegra: Fix symmetric rate flag

'symmetric_rates' member is not available now in 'snd_soc_dai_driver'
structure. Instead this is replaced by 'symmetric_rate'. Fix these
references to avoid build errors.

Bug 3583581

Change-Id: I6bacec5a15656724bf344c797db8c39015bd7b23
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2774430
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Sameer Pujar
2022-08-05 12:59:49 +05:30
committed by mobile promotions
parent 796fd3534c
commit 4b2029fac6
3 changed files with 4 additions and 4 deletions

View File

@@ -443,7 +443,7 @@ static struct snd_soc_dai_driver tegra186_dspk_dais[] = {
SNDRV_PCM_FMTBIT_S32_LE, SNDRV_PCM_FMTBIT_S32_LE,
}, },
.ops = &tegra186_dspk_dai_ops, .ops = &tegra186_dspk_dai_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
/* The second DAI is used when the output of the DSPK is connected /* The second DAI is used when the output of the DSPK is connected
* to two mono codecs. When the output of the DSPK is connected to * to two mono codecs. When the output of the DSPK is connected to
@@ -475,7 +475,7 @@ static struct snd_soc_dai_driver tegra186_dspk_dais[] = {
.formats = SNDRV_PCM_FMTBIT_S16_LE | .formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S32_LE, SNDRV_PCM_FMTBIT_S32_LE,
}, },
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "DUMMY_SINK", .name = "DUMMY_SINK",

View File

@@ -446,7 +446,7 @@ static struct snd_soc_dai_driver tegra210_dmic_dais[] = {
SNDRV_PCM_FMTBIT_S32_LE, SNDRV_PCM_FMTBIT_S32_LE,
}, },
.ops = &tegra210_dmic_dai_ops, .ops = &tegra210_dmic_dai_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "DUMMY_SOURCE", .name = "DUMMY_SOURCE",

View File

@@ -998,7 +998,7 @@ static struct snd_soc_dai_driver tegra210_i2s_dais[] = {
SNDRV_PCM_FMTBIT_S32_LE, SNDRV_PCM_FMTBIT_S32_LE,
}, },
.ops = &tegra210_i2s_dai_ops, .ops = &tegra210_i2s_dai_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "DUMMY", .name = "DUMMY",