ASoC: Intel: boards: replace capture_only by dpcm_capture
It's not clear why specific FE dailinks use capture_only flags, likely blind copy/paste from Chromebook driver to the other. Replace by dpcm_capture, this will make future alignment and removal of flags easier. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20200608194415.4663-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
607fa205a7
Коммит
dc26187586
|
@ -407,7 +407,7 @@ static struct snd_soc_dai_link geminilake_dais[] = {
|
||||||
.name = "Glk Audio Echo Reference cap",
|
.name = "Glk Audio Echo Reference cap",
|
||||||
.stream_name = "Echoreference Capture",
|
.stream_name = "Echoreference Capture",
|
||||||
.init = NULL,
|
.init = NULL,
|
||||||
.capture_only = 1,
|
.dpcm_capture = 1,
|
||||||
.nonatomic = 1,
|
.nonatomic = 1,
|
||||||
.dynamic = 1,
|
.dynamic = 1,
|
||||||
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
||||||
|
|
|
@ -692,7 +692,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
|
||||||
.name = "Kbl Audio Echo Reference cap",
|
.name = "Kbl Audio Echo Reference cap",
|
||||||
.stream_name = "Echoreference Capture",
|
.stream_name = "Echoreference Capture",
|
||||||
.init = NULL,
|
.init = NULL,
|
||||||
.capture_only = 1,
|
.dpcm_capture = 1,
|
||||||
.nonatomic = 1,
|
.nonatomic = 1,
|
||||||
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
||||||
},
|
},
|
||||||
|
@ -858,7 +858,7 @@ static struct snd_soc_dai_link kabylake_max98_927_373_dais[] = {
|
||||||
.name = "Kbl Audio Echo Reference cap",
|
.name = "Kbl Audio Echo Reference cap",
|
||||||
.stream_name = "Echoreference Capture",
|
.stream_name = "Echoreference Capture",
|
||||||
.init = NULL,
|
.init = NULL,
|
||||||
.capture_only = 1,
|
.dpcm_capture = 1,
|
||||||
.nonatomic = 1,
|
.nonatomic = 1,
|
||||||
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
||||||
},
|
},
|
||||||
|
|
|
@ -672,7 +672,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
|
||||||
.name = "Kbl Audio Echo Reference cap",
|
.name = "Kbl Audio Echo Reference cap",
|
||||||
.stream_name = "Echoreference Capture",
|
.stream_name = "Echoreference Capture",
|
||||||
.init = NULL,
|
.init = NULL,
|
||||||
.capture_only = 1,
|
.dpcm_capture = 1,
|
||||||
.nonatomic = 1,
|
.nonatomic = 1,
|
||||||
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
||||||
},
|
},
|
||||||
|
|
|
@ -566,7 +566,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
|
||||||
.name = "Kbl Audio Echo Reference cap",
|
.name = "Kbl Audio Echo Reference cap",
|
||||||
.stream_name = "Echoreference Capture",
|
.stream_name = "Echoreference Capture",
|
||||||
.init = NULL,
|
.init = NULL,
|
||||||
.capture_only = 1,
|
.dpcm_capture = 1,
|
||||||
.nonatomic = 1,
|
.nonatomic = 1,
|
||||||
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
SND_SOC_DAILINK_REG(echoref, dummy, platform),
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче