ASoC: cs*: Remove now redundant non_legacy_dai_naming flag
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 12:52:03 +0000 (13:52 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:16:59 +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-50-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
25 files changed:
sound/soc/codecs/cs35l32.c
sound/soc/codecs/cs35l33.c
sound/soc/codecs/cs35l34.c
sound/soc/codecs/cs35l35.c
sound/soc/codecs/cs35l36.c
sound/soc/codecs/cs4234.c
sound/soc/codecs/cs4265.c
sound/soc/codecs/cs4270.c
sound/soc/codecs/cs4271.c
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l51.c
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l56.c
sound/soc/codecs/cs42l73.c
sound/soc/codecs/cs42xx8.c
sound/soc/codecs/cs43130.c
sound/soc/codecs/cs4341.c
sound/soc/codecs/cs4349.c
sound/soc/codecs/cs47l15.c
sound/soc/codecs/cs47l24.c
sound/soc/codecs/cs47l35.c
sound/soc/codecs/cs47l85.c
sound/soc/codecs/cs47l90.c
sound/soc/codecs/cs47l92.c
sound/soc/codecs/cs53l30.c

index badfc55..8ff6f66 100644 (file)
@@ -236,7 +236,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l32 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 /* Current and threshold powerup sequence Pg37 in datasheet */
index 47dc0f6..082025f 100644 (file)
@@ -840,7 +840,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l33 = {
        .num_dapm_routes        = ARRAY_SIZE(cs35l33_audio_map),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config cs35l33_regmap = {
index 50d509a..472ac98 100644 (file)
@@ -787,7 +787,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l34 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static struct regmap_config cs35l34_regmap = {
index 6b70afb..714a759 100644 (file)
@@ -1087,7 +1087,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l35 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static struct regmap_config cs35l35_regmap = {
index dfe85dc..4dc13e6 100644 (file)
@@ -1300,7 +1300,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l36 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static struct regmap_config cs35l36_regmap = {
index 881c5ba..b49a3cf 100644 (file)
@@ -660,7 +660,6 @@ static const struct snd_soc_component_driver soc_component_cs4234 = {
        .controls               = cs4234_snd_controls,
        .num_controls           = ARRAY_SIZE(cs4234_snd_controls),
        .set_bias_level         = cs4234_set_bias_level,
-       .non_legacy_dai_naming  = 1,
        .idle_bias_on           = 1,
        .suspend_bias_off       = 1,
        .endianness             = 1,
index 86bfa8d..76c1980 100644 (file)
@@ -553,7 +553,6 @@ static const struct snd_soc_component_driver soc_component_cs4265 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config cs4265_regmap = {
index 97d26b9..ba67e43 100644 (file)
@@ -619,7 +619,6 @@ static const struct snd_soc_component_driver soc_component_device_cs4270 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 /*
index 7663f89..2021cf4 100644 (file)
@@ -642,7 +642,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs4271 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs4271_common_probe(struct device *dev,
index 6ca74c0..d545a59 100644 (file)
@@ -581,7 +581,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs42l42 = {
        .num_controls           = ARRAY_SIZE(cs42l42_snd_controls),
        .idle_bias_on           = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 /* Switch to SCLK. Atomic delay after the write to allow the switch to complete. */
index 0e93318..51721ed 100644 (file)
@@ -600,7 +600,6 @@ static const struct snd_soc_component_driver soc_component_device_cs42l51 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static bool cs42l51_writeable_reg(struct device *dev, unsigned int reg)
index 10e6964..90bf535 100644 (file)
@@ -1061,7 +1061,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs42l52 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 /* Current and threshold powerup sequence Pg37 */
index 510c942..03e2540 100644 (file)
@@ -1114,7 +1114,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs42l56 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config cs42l56_regmap = {
index 5a91662..0a14631 100644 (file)
@@ -1256,7 +1256,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs42l73 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config cs42l73_regmap = {
index 5d6ef66..d14eb2f 100644 (file)
@@ -497,7 +497,6 @@ static const struct snd_soc_component_driver cs42xx8_driver = {
        .num_dapm_routes        = ARRAY_SIZE(cs42xx8_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 const struct cs42xx8_driver_data cs42448_data = {
index a2bce0f..ca4d47c 100644 (file)
@@ -2345,7 +2345,6 @@ static struct snd_soc_component_driver soc_component_dev_cs43130 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config cs43130_regmap = {
index 8ac043f..ac16960 100644 (file)
@@ -202,7 +202,6 @@ static const struct snd_soc_component_driver soc_component_cs4341 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct of_device_id __maybe_unused cs4341_dt_ids[] = {
index 7069e9b..f7c5c2f 100644 (file)
@@ -260,7 +260,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs4349 = {
        .idle_bias_on           = 1,
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static const struct regmap_config cs4349_regmap = {
index 391fd7d..0193173 100644 (file)
@@ -1353,7 +1353,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs47l15 = {
        .num_dapm_routes        = ARRAY_SIZE(cs47l15_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs47l15_probe(struct platform_device *pdev)
index 6356f81..f9a2b86 100644 (file)
@@ -1203,7 +1203,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs47l24 = {
        .num_dapm_routes        = ARRAY_SIZE(cs47l24_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs47l24_probe(struct platform_device *pdev)
index db2f844..c1032d6 100644 (file)
@@ -1638,7 +1638,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs47l35 = {
        .num_dapm_routes        = ARRAY_SIZE(cs47l35_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs47l35_probe(struct platform_device *pdev)
index d4fedc5..215d821 100644 (file)
@@ -2582,7 +2582,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs47l85 = {
        .num_dapm_routes        = ARRAY_SIZE(cs47l85_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs47l85_probe(struct platform_device *pdev)
index 5aec937..1ad6526 100644 (file)
@@ -2497,7 +2497,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs47l90 = {
        .num_dapm_routes        = ARRAY_SIZE(cs47l90_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs47l90_probe(struct platform_device *pdev)
index a1b8dcd..59da34b 100644 (file)
@@ -1958,7 +1958,6 @@ static const struct snd_soc_component_driver soc_component_dev_cs47l92 = {
        .num_dapm_routes        = ARRAY_SIZE(cs47l92_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static int cs47l92_probe(struct platform_device *pdev)
index 360ca2f..8796d8e 100644 (file)
@@ -899,7 +899,6 @@ static const struct snd_soc_component_driver cs53l30_driver = {
        .num_dapm_routes        = ARRAY_SIZE(cs53l30_dapm_routes),
        .use_pmdown_time        = 1,
        .endianness             = 1,
-       .non_legacy_dai_naming  = 1,
 };
 
 static struct regmap_config cs53l30_regmap = {