OSDN Git Service

ASoC: rt*: Remove now redundant non_legacy_dai_naming flag
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 12:52:10 +0000 (13:52 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:17:05 +0000 (13:17 +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-57-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
25 files changed:
sound/soc/codecs/rt1011.c
sound/soc/codecs/rt1015.c
sound/soc/codecs/rt1015p.c
sound/soc/codecs/rt1016.c
sound/soc/codecs/rt1019.c
sound/soc/codecs/rt1305.c
sound/soc/codecs/rt1308.c
sound/soc/codecs/rt274.c
sound/soc/codecs/rt286.c
sound/soc/codecs/rt298.c
sound/soc/codecs/rt5514.c
sound/soc/codecs/rt5616.c
sound/soc/codecs/rt5631.c
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5651.c
sound/soc/codecs/rt5659.c
sound/soc/codecs/rt5660.c
sound/soc/codecs/rt5663.c
sound/soc/codecs/rt5665.c
sound/soc/codecs/rt5668.c
sound/soc/codecs/rt5670.c
sound/soc/codecs/rt5677.c
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682s.c

index 08dbaef..c156821 100644 (file)
@@ -2176,7 +2176,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1011 = {
        .set_pll = rt1011_set_component_pll,
        .use_pmdown_time = 1,
        .endianness = 1,
-       .non_legacy_dai_naming = 1,
 };
 
 static const struct regmap_config rt1011_regmap = {
index 7a06f26..57d0f1c 100644 (file)
@@ -1071,7 +1071,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1015 = {
        .set_pll = rt1015_set_component_pll,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt1015_regmap = {
index 415cfb3..06800da 100644 (file)
@@ -89,7 +89,6 @@ static const struct snd_soc_component_driver rt1015p_component_driver = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static struct snd_soc_dai_driver rt1015p_dai_driver = {
index e31c473..37eeec6 100644 (file)
@@ -595,7 +595,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1016 = {
        .set_pll = rt1016_set_component_pll,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt1016_regmap = {
index f3f15fb..b66bfec 100644 (file)
@@ -522,7 +522,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1019 = {
        .num_dapm_widgets       = ARRAY_SIZE(rt1019_dapm_widgets),
        .dapm_routes            = rt1019_dapm_routes,
        .num_dapm_routes        = ARRAY_SIZE(rt1019_dapm_routes),
-       .non_legacy_dai_naming  = 1,
        .endianness             = 1,
 };
 
index 58d97e3..5b39a44 100644 (file)
@@ -946,7 +946,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1305 = {
        .set_pll = rt1305_set_component_pll,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt1305_regmap = {
index eec2b17..d2a8e9f 100644 (file)
@@ -765,7 +765,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1308 = {
        .set_pll = rt1308_set_component_pll,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt1308_regmap = {
index a5615e9..6b208f9 100644 (file)
@@ -1072,7 +1072,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt274 = {
        .num_dapm_routes        = ARRAY_SIZE(rt274_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt274_regmap = {
index 0534a07..b2b0b2b 100644 (file)
@@ -1058,7 +1058,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt286 = {
        .num_dapm_routes        = ARRAY_SIZE(rt286_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt286_regmap = {
index 1a27e5e..266a2cc 100644 (file)
@@ -1123,7 +1123,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt298 = {
        .num_dapm_routes        = ARRAY_SIZE(rt298_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt298_regmap = {
index be8ece4..b9bcf04 100644 (file)
@@ -1173,7 +1173,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5514 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5514_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5514_i2c_regmap = {
index 37f1bf5..970d6c4 100644 (file)
@@ -1304,7 +1304,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5616 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5616_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5616_regmap = {
index c941e87..957f6b1 100644 (file)
@@ -1666,7 +1666,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5631 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct i2c_device_id rt5631_i2c_id[] = {
index 69c80d8..56008e4 100644 (file)
@@ -2867,8 +2867,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5640 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5640_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
-
 };
 
 static const struct regmap_config rt5640_regmap = {
index 507aba8..8635bc6 100644 (file)
@@ -3534,7 +3534,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5645 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5645_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5645_regmap = {
index d11d201..df90af9 100644 (file)
@@ -2161,7 +2161,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5651 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5651_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5651_regmap = {
index 6efa90f..5e21e3c 100644 (file)
@@ -3801,7 +3801,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5659 = {
        .set_pll                = rt5659_set_component_pll,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 
index d5f9926..341baa2 100644 (file)
@@ -1208,7 +1208,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5660 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5660_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5660_regmap = {
index e51eed8..ca981b3 100644 (file)
@@ -3258,7 +3258,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5663 = {
        .set_jack               = rt5663_set_jack_detect,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5663_v2_regmap = {
index 4a8d62e..6e66cc2 100644 (file)
@@ -4617,7 +4617,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5665 = {
        .set_jack               = rt5665_set_jack_detect,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 
index 01566f0..beb0951 100644 (file)
@@ -2362,7 +2362,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5668 = {
        .set_jack = rt5668_set_jack_detect,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5668_regmap = {
index 8a97f6d..60dbfa2 100644 (file)
@@ -2852,7 +2852,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5670 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5670_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5670_regmap = {
index 4a8c267..31a2dd0 100644 (file)
@@ -5189,7 +5189,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5677 = {
        .num_dapm_routes        = ARRAY_SIZE(rt5677_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config rt5677_regmap_physical = {
index 2b6c6d6..2df95e7 100644 (file)
@@ -3064,7 +3064,6 @@ const struct snd_soc_component_driver rt5682_soc_component_dev = {
        .set_jack = rt5682_set_jack_detect,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 EXPORT_SYMBOL_GPL(rt5682_soc_component_dev);
 
index 4d44edd..eb47e7c 100644 (file)
@@ -2893,7 +2893,6 @@ static const struct snd_soc_component_driver rt5682s_soc_component_dev = {
        .set_jack = rt5682s_set_jack_detect,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev)