OSDN Git Service

ASoC: ad*: Remove now redundant non_legacy_dai_naming flag
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 12:52:00 +0000 (13:52 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:16:56 +0000 (13:16 +0100)
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623125250.2355471-47-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
12 files changed:
sound/soc/codecs/ad1836.c
sound/soc/codecs/ad193x.c
sound/soc/codecs/ad1980.c
sound/soc/codecs/ad73311.c
sound/soc/codecs/adau1373.c
sound/soc/codecs/adau1701.c
sound/soc/codecs/adau1761.c
sound/soc/codecs/adau1781.c
sound/soc/codecs/adau1977.c
sound/soc/codecs/adau7002.c
sound/soc/codecs/adau7118.c
sound/soc/codecs/adav80x.c

index 29e1689..2c64df9 100644 (file)
@@ -332,7 +332,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad1836 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct reg_default ad1836_reg_defaults[] = {
index 30b98b4..1d3c4d9 100644 (file)
@@ -523,7 +523,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad193x = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 const struct regmap_config ad193x_regmap_config = {
index 9fd2023..5e777d7 100644 (file)
@@ -302,7 +302,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad1980 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int ad1980_probe(struct platform_device *pdev)
index b98bf19..f6090ac 100644 (file)
@@ -58,7 +58,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad73311 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int ad73311_probe(struct platform_device *pdev)
index a9032b5..7f832d0 100644 (file)
@@ -1470,7 +1470,6 @@ static const struct snd_soc_component_driver adau1373_component_driver = {
        .num_dapm_routes        = ARRAY_SIZE(adau1373_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int adau1373_i2c_probe(struct i2c_client *client)
index 98768e5..135a7db 100644 (file)
@@ -772,7 +772,6 @@ static const struct snd_soc_component_driver adau1701_component_drv = {
        .set_sysclk             = adau1701_set_sysclk,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config adau1701_regmap = {
index 8f88722..3ccc7ac 100644 (file)
@@ -930,7 +930,6 @@ static const struct snd_soc_component_driver adau1761_component_driver = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 #define ADAU1761_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
index 74dc334..ff6be24 100644 (file)
@@ -439,7 +439,6 @@ static const struct snd_soc_component_driver adau1781_component_driver = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 #define ADAU1781_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
index 5fcbdf2..7a9672f 100644 (file)
@@ -876,7 +876,6 @@ static const struct snd_soc_component_driver adau1977_component_driver = {
        .num_dapm_routes        = ARRAY_SIZE(adau1977_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int adau1977_setup_micbias(struct adau1977 *adau1977)
index 0e00de6..401bafa 100644 (file)
@@ -91,7 +91,6 @@ static const struct snd_soc_component_driver adau7002_component_driver = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int adau7002_probe(struct platform_device *pdev)
index 841229d..bbb0972 100644 (file)
@@ -442,7 +442,6 @@ static const struct snd_soc_component_driver adau7118_component_driver = {
        .num_dapm_widgets       = ARRAY_SIZE(adau7118_widgets),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static void adau7118_regulator_disable(void *data)
index 90f3a5e..fcff35f 100644 (file)
@@ -842,7 +842,6 @@ static const struct snd_soc_component_driver adav80x_component_driver = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 int adav80x_bus_probe(struct device *dev, struct regmap *regmap)