mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ASoC: ad*: 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-47-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
36e79a44b1
commit
d9e7ddb986
@ -332,7 +332,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad1836 = {
|
|||||||
.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 reg_default ad1836_reg_defaults[] = {
|
static const struct reg_default ad1836_reg_defaults[] = {
|
||||||
|
@ -523,7 +523,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad193x = {
|
|||||||
.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,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct regmap_config ad193x_regmap_config = {
|
const struct regmap_config ad193x_regmap_config = {
|
||||||
|
@ -302,7 +302,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad1980 = {
|
|||||||
.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 int ad1980_probe(struct platform_device *pdev)
|
static int ad1980_probe(struct platform_device *pdev)
|
||||||
|
@ -58,7 +58,6 @@ static const struct snd_soc_component_driver soc_component_dev_ad73311 = {
|
|||||||
.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 int ad73311_probe(struct platform_device *pdev)
|
static int ad73311_probe(struct platform_device *pdev)
|
||||||
|
@ -1470,7 +1470,6 @@ static const struct snd_soc_component_driver adau1373_component_driver = {
|
|||||||
.num_dapm_routes = ARRAY_SIZE(adau1373_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(adau1373_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int adau1373_i2c_probe(struct i2c_client *client)
|
static int adau1373_i2c_probe(struct i2c_client *client)
|
||||||
|
@ -772,7 +772,6 @@ static const struct snd_soc_component_driver adau1701_component_drv = {
|
|||||||
.set_sysclk = adau1701_set_sysclk,
|
.set_sysclk = adau1701_set_sysclk,
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct regmap_config adau1701_regmap = {
|
static const struct regmap_config adau1701_regmap = {
|
||||||
|
@ -930,7 +930,6 @@ static const struct snd_soc_component_driver adau1761_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,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ADAU1761_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
|
#define ADAU1761_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
|
||||||
|
@ -439,7 +439,6 @@ static const struct snd_soc_component_driver adau1781_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,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ADAU1781_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
|
#define ADAU1781_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE | \
|
||||||
|
@ -876,7 +876,6 @@ static const struct snd_soc_component_driver adau1977_component_driver = {
|
|||||||
.num_dapm_routes = ARRAY_SIZE(adau1977_dapm_routes),
|
.num_dapm_routes = ARRAY_SIZE(adau1977_dapm_routes),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int adau1977_setup_micbias(struct adau1977 *adau1977)
|
static int adau1977_setup_micbias(struct adau1977 *adau1977)
|
||||||
|
@ -91,7 +91,6 @@ static const struct snd_soc_component_driver adau7002_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 int adau7002_probe(struct platform_device *pdev)
|
static int adau7002_probe(struct platform_device *pdev)
|
||||||
|
@ -442,7 +442,6 @@ static const struct snd_soc_component_driver adau7118_component_driver = {
|
|||||||
.num_dapm_widgets = ARRAY_SIZE(adau7118_widgets),
|
.num_dapm_widgets = ARRAY_SIZE(adau7118_widgets),
|
||||||
.use_pmdown_time = 1,
|
.use_pmdown_time = 1,
|
||||||
.endianness = 1,
|
.endianness = 1,
|
||||||
.non_legacy_dai_naming = 1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void adau7118_regulator_disable(void *data)
|
static void adau7118_regulator_disable(void *data)
|
||||||
|
@ -842,7 +842,6 @@ static const struct snd_soc_component_driver adav80x_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,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int adav80x_bus_probe(struct device *dev, struct regmap *regmap)
|
int adav80x_bus_probe(struct device *dev, struct regmap *regmap)
|
||||||
|
Loading…
Reference in New Issue
Block a user