ASoC: rt*: Remove now redundant non_legacy_dai_naming flag
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>
This commit is contained in:
Родитель
8d4470b8d0
Коммит
a524837ddd
|
@ -2176,7 +2176,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1011 = {
|
||||||
.set_pll = rt1011_set_component_pll,
|
.set_pll = rt1011_set_component_pll,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt1011_regmap = {
|
static const struct regmap_config rt1011_regmap = {
|
||||||
|
|
|
@ -1071,7 +1071,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1015 = {
|
||||||
.set_pll = rt1015_set_component_pll,
|
.set_pll = rt1015_set_component_pll,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt1015_regmap = {
|
static const struct regmap_config rt1015_regmap = {
|
||||||
|
|
|
@ -89,7 +89,6 @@ static const struct snd_soc_component_driver rt1015p_component_driver = {
|
||||||
.idle_bias_on = 1,
|
.idle_bias_on = 1,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct snd_soc_dai_driver rt1015p_dai_driver = {
|
static struct snd_soc_dai_driver rt1015p_dai_driver = {
|
||||||
|
|
|
@ -595,7 +595,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1016 = {
|
||||||
.set_pll = rt1016_set_component_pll,
|
.set_pll = rt1016_set_component_pll,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt1016_regmap = {
|
static const struct regmap_config rt1016_regmap = {
|
||||||
|
|
|
@ -522,7 +522,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1019 = {
|
||||||
.num_dapm_widgets = ARRAY_SIZE(rt1019_dapm_widgets),
|
.num_dapm_widgets = ARRAY_SIZE(rt1019_dapm_widgets),
|
||||||
.dapm_routes = rt1019_dapm_routes,
|
.dapm_routes = rt1019_dapm_routes,
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt1019_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt1019_dapm_routes),
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -946,7 +946,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1305 = {
|
||||||
.set_pll = rt1305_set_component_pll,
|
.set_pll = rt1305_set_component_pll,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt1305_regmap = {
|
static const struct regmap_config rt1305_regmap = {
|
||||||
|
|
|
@ -765,7 +765,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt1308 = {
|
||||||
.set_pll = rt1308_set_component_pll,
|
.set_pll = rt1308_set_component_pll,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt1308_regmap = {
|
static const struct regmap_config rt1308_regmap = {
|
||||||
|
|
|
@ -1072,7 +1072,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt274 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt274_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt274_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt274_regmap = {
|
static const struct regmap_config rt274_regmap = {
|
||||||
|
|
|
@ -1058,7 +1058,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt286 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt286_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt286_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt286_regmap = {
|
static const struct regmap_config rt286_regmap = {
|
||||||
|
|
|
@ -1123,7 +1123,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt298 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt298_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt298_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt298_regmap = {
|
static const struct regmap_config rt298_regmap = {
|
||||||
|
|
|
@ -1173,7 +1173,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5514 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5514_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5514_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5514_i2c_regmap = {
|
static const struct regmap_config rt5514_i2c_regmap = {
|
||||||
|
|
|
@ -1304,7 +1304,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5616 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5616_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5616_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5616_regmap = {
|
static const struct regmap_config rt5616_regmap = {
|
||||||
|
|
|
@ -1666,7 +1666,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5631 = {
|
||||||
.idle_bias_on = 1,
|
.idle_bias_on = 1,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct i2c_device_id rt5631_i2c_id[] = {
|
static const struct i2c_device_id rt5631_i2c_id[] = {
|
||||||
|
|
|
@ -2867,8 +2867,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5640 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5640_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5640_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5640_regmap = {
|
static const struct regmap_config rt5640_regmap = {
|
||||||
|
|
|
@ -3534,7 +3534,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5645 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5645_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5645_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5645_regmap = {
|
static const struct regmap_config rt5645_regmap = {
|
||||||
|
|
|
@ -2161,7 +2161,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5651 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5651_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5651_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5651_regmap = {
|
static const struct regmap_config rt5651_regmap = {
|
||||||
|
|
|
@ -3801,7 +3801,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5659 = {
|
||||||
.set_pll = rt5659_set_component_pll,
|
.set_pll = rt5659_set_component_pll,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1208,7 +1208,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5660 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5660_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5660_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5660_regmap = {
|
static const struct regmap_config rt5660_regmap = {
|
||||||
|
|
|
@ -3258,7 +3258,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5663 = {
|
||||||
.set_jack = rt5663_set_jack_detect,
|
.set_jack = rt5663_set_jack_detect,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5663_v2_regmap = {
|
static const struct regmap_config rt5663_v2_regmap = {
|
||||||
|
|
|
@ -4617,7 +4617,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5665 = {
|
||||||
.set_jack = rt5665_set_jack_detect,
|
.set_jack = rt5665_set_jack_detect,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2362,7 +2362,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5668 = {
|
||||||
.set_jack = rt5668_set_jack_detect,
|
.set_jack = rt5668_set_jack_detect,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5668_regmap = {
|
static const struct regmap_config rt5668_regmap = {
|
||||||
|
|
|
@ -2852,7 +2852,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5670 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5670_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5670_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5670_regmap = {
|
static const struct regmap_config rt5670_regmap = {
|
||||||
|
|
|
@ -5189,7 +5189,6 @@ static const struct snd_soc_component_driver soc_component_dev_rt5677 = {
|
||||||
.num_dapm_routes = ARRAY_SIZE(rt5677_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(rt5677_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config rt5677_regmap_physical = {
|
static const struct regmap_config rt5677_regmap_physical = {
|
||||||
|
|
|
@ -3064,7 +3064,6 @@ const struct snd_soc_component_driver rt5682_soc_component_dev = {
|
||||||
.set_jack = rt5682_set_jack_detect,
|
.set_jack = rt5682_set_jack_detect,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
EXPORT_SYMBOL_GPL(rt5682_soc_component_dev);
|
EXPORT_SYMBOL_GPL(rt5682_soc_component_dev);
|
||||||
|
|
||||||
|
|
|
@ -2893,7 +2893,6 @@ static const struct snd_soc_component_driver rt5682s_soc_component_dev = {
|
||||||
.set_jack = rt5682s_set_jack_detect,
|
.set_jack = rt5682s_set_jack_detect,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev)
|
static int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче