mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
ASoC: tegra: Migrate to new style legacy DAI naming flag
Change the legacy DAI naming flag from opting in to the new scheme (non_legacy_dai_naming), to opting out of it (legacy_dai_naming). These drivers appear to be on the CPU side of the DAI link and currently uses the legacy naming, so add the new flag. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220623125250.2355471-12-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f712ff57a2
commit
3172582c10
@ -239,7 +239,8 @@ static struct snd_soc_dai_driver tegra20_ac97_dai = {
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver tegra20_ac97_component = {
|
||||
.name = DRV_NAME,
|
||||
.name = DRV_NAME,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
static bool tegra20_ac97_wr_rd_reg(struct device *dev, unsigned int reg)
|
||||
|
@ -338,7 +338,8 @@ static const struct snd_soc_dai_driver tegra20_i2s_dai_template = {
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver tegra20_i2s_component = {
|
||||
.name = DRV_NAME,
|
||||
.name = DRV_NAME,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
static bool tegra20_i2s_wr_rd_reg(struct device *dev, unsigned int reg)
|
||||
|
@ -264,6 +264,7 @@ static struct snd_soc_dai_driver tegra20_spdif_dai = {
|
||||
|
||||
static const struct snd_soc_component_driver tegra20_spdif_component = {
|
||||
.name = "tegra20-spdif",
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
static bool tegra20_spdif_wr_rd_reg(struct device *dev, unsigned int reg)
|
||||
|
@ -331,7 +331,8 @@ static const struct snd_soc_dai_driver tegra30_i2s_dai_template = {
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver tegra30_i2s_component = {
|
||||
.name = DRV_NAME,
|
||||
.name = DRV_NAME,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
static bool tegra30_i2s_wr_rd_reg(struct device *dev, unsigned int reg)
|
||||
|
Loading…
Reference in New Issue
Block a user