]> www.infradead.org Git - users/willy/linux.git/commitdiff
ASoC: Intel: boards: replace capture_only by dpcm_capture
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 8 Jun 2020 19:44:14 +0000 (14:44 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jun 2020 14:29:00 +0000 (15:29 +0100)
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>
sound/soc/intel/boards/glk_rt5682_max98357a.c
sound/soc/intel/boards/kbl_da7219_max98927.c
sound/soc/intel/boards/kbl_rt5663_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c

index 48eda1a8aa6cbe0d07dbb67420e1428044b34980..954ab01f695b8f8a117ca4674dcdabd480f81576 100644 (file)
@@ -407,7 +407,7 @@ static struct snd_soc_dai_link geminilake_dais[] = {
                .name = "Glk Audio Echo Reference cap",
                .stream_name = "Echoreference Capture",
                .init = NULL,
-               .capture_only = 1,
+               .dpcm_capture = 1,
                .nonatomic = 1,
                .dynamic = 1,
                SND_SOC_DAILINK_REG(echoref, dummy, platform),
index cc9b5eab8b4a5f54a15b8a2dc5b6a23074d53c2a..e29c31ffd241f1d1adf255ca2a1863d5d9dfb902 100644 (file)
@@ -692,7 +692,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
                .name = "Kbl Audio Echo Reference cap",
                .stream_name = "Echoreference Capture",
                .init = NULL,
-               .capture_only = 1,
+               .dpcm_capture = 1,
                .nonatomic = 1,
                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",
                .stream_name = "Echoreference Capture",
                .init = NULL,
-               .capture_only = 1,
+               .dpcm_capture = 1,
                .nonatomic = 1,
                SND_SOC_DAILINK_REG(echoref, dummy, platform),
        },
index 658a9da3a40fd1bc76c7130437a619276040f7c6..09ba55fc36d5180630ca2b99e73fe94c24cf32c1 100644 (file)
@@ -672,7 +672,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
                .name = "Kbl Audio Echo Reference cap",
                .stream_name = "Echoreference Capture",
                .init = NULL,
-               .capture_only = 1,
+               .dpcm_capture = 1,
                .nonatomic = 1,
                SND_SOC_DAILINK_REG(echoref, dummy, platform),
        },
index 1b1f8d7a4ea3fc8445d4e619dcc4ea578a8738eb..b34cf6cf11395832c23b6ec4a3b6dc37380cfab6 100644 (file)
@@ -566,7 +566,7 @@ static struct snd_soc_dai_link kabylake_dais[] = {
                .name = "Kbl Audio Echo Reference cap",
                .stream_name = "Echoreference Capture",
                .init = NULL,
-               .capture_only = 1,
+               .dpcm_capture = 1,
                .nonatomic = 1,
                SND_SOC_DAILINK_REG(echoref, dummy, platform),
        },