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 badfc55bc5fa0330778cec671e35d9cca75d2cf3..8ff6f66be86fa92dfd3483080e9c85d2bbf2498d 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 47dc0f6d90a2a9d06cdc95312af220e5ca2891e7..082025fa0370c06942a21fe12218f1060579f8dc 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 50d509a0607133b391fcb9f2c62e8d08f173b7a4..472ac982779be55811b40837a3016dc4eadfe2b0 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 6b70afb70a674d99fa42a661a4b86083c4bf3c46..714a759dca21bf160b5daee0cba7f26bddfb1e01 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 dfe85dc2cd20fbddf8d4f125e87c3abae42795ba..4dc13e6f4874cbf85ffa7ed8e86e95788d8855f0 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 881c5ba70c0edaee3054100d003b696596a50d41..b49a3cf21ebe275138a07129a7a6dfa993ff44c9 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 86bfa8d5ec7872277acfa5b889aa525f68ebb4de..76c19802d5fe1ea03c16dc9ec9c54112095d7ac2 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 97d26b9e8f7fec0bf8069498d81719e8291e15e1..ba67e43edf35139ac96985ab720996abc320761d 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 7663f89ac6a2420587b7976f528be6e71b904191..2021cf4426061ef7d8ced6f394c311dfcf1724b8 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 6ca74c0d46eaa0e1045a910937fe72fcded529ac..d545a593a2516603979ddf6c731cd80e0c64d2d6 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 0e933181b5dbb98623c938953e4eb3a3aa9eaf39..51721edd8f53c756ca92dd05702931219660e2be 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 10e696406a71b161476ea50fa8e68ca7e6a7f9b8..90bf535fc5a524d9ddff1e7b3bb25121dee55bf7 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 510c94265b1f0da025825b3673bd19fae1d1887c..03e2540a0ba1264cbce4244139a1649094acacd7 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 5a9166289f366b40f67c7c6d890b53df34ad7944..0a146319755a6513e50f21ff7d999a2383359f5e 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 5d6ef660f851f8f4dc20385a2b3b059f415f0672..d14eb2f6e1dd4b1d6d5a1f5893893ce0b93ce415 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 a2bce0f9f247b137d17c557593d13cd402b072fb..ca4d47cc9c915013488c85e81a68535e284710c0 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 8ac043f1aae0158ecb99e9d298a580c7dc3e9a99..ac1696034846d441250a92caeecd16b8ea9513db 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 7069e9b548576d049df5a441357bf96a8ebe8e2a..f7c5c2fd430462cae969c34afa0c29f410ede1b4 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 391fd7da331fd2d8eda9a0b0ae61bf63c42b2f6e..0193173b863768da8c8aa04ce9d17408ae5e87bf 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 6356f81aafc563a0135cdf14e650465a7dabfff0..f9a2b865d71761cac4c31167b5734962b1f29e8c 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 db2f844b8b17f1a8983216d1f63c469e4eb91c8b..c1032d6c9143f9664ea4a7aedf6a15c5c9ca5d1f 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 d4fedc5ad516eb888d7b1276a89fa6264150f48b..215d8211aa59b77961534214db5494a8275436b9 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 5aec937a24629851ab4491f96efa75febcc38bec..1ad6526c78717e11e0ec3ff6fe8e42318ad96b73 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 a1b8dcdb9f7b7678636be3b0da0f12a24b861773..59da34b480a87d9004285fb28f055204e19291a8 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 360ca2ffd506968ddc8bfb266b0b6fb52e833728..8796d8e84b7a26fe1da146a86e9c67ebf786c748 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 = {