OpenCloudOS-Kernel/sound/soc/sunxi
Mark Brown fc34ece41f
ASoC: Refactor non_legacy_dai_naming flag
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:

Historically, the legacy DAI naming scheme was applied to platform
drivers and the newer scheme to CODEC drivers. During componentisation
the core lost the knowledge of if a driver was a CODEC or platform, they
were all now components. To continue to support the legacy naming on
older platform drivers a flag was added to the snd_soc_component_driver
structure, non_legacy_dai_naming, to indicate to use the new scheme and
this was applied to all CODECs as part of the migration.

However, a slight issue appears to be developing with respect to this
flag being opt in for the non-legacy scheme, which presumably we want to
be the primary scheme used. Many codec drivers appear to forget to
include this flag:

  grep -l -r "snd_soc_component_driver" sound/soc/codecs/*.c |
  xargs grep -L "non_legacy_dai_naming" | wc
     48      48    556

Whilst in many cases the configuration of the DAIs themselves will cause
the core to apply the new scheme anyway, it would seem more sensible to
change the flag to legacy_dai_naming making the new scheme opt out. This
patch series migrates across to such a scheme.
2022-06-29 16:58:08 +01:00
..
Kconfig ASoC: sunxi: do not select COMMON_CLK to fix builds 2020-11-19 13:00:01 +00:00
Makefile ASoC: sunxi: Add new driver for Allwinner A64 codec's analog path controls 2018-10-17 11:11:01 +01:00
sun4i-codec.c ASoC: sunxi: Remove now redundant non_legacy_dai_naming flag 2022-06-27 13:16:51 +01:00
sun4i-i2s.c ASoC: sunxi: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:26 +01:00
sun4i-spdif.c ASoC: sunxi: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:26 +01:00
sun8i-adda-pr-regmap.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-adda-pr-regmap.h ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec-analog.c ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:09:02 +01:00
sun8i-codec.c ASoC: sunxi: Remove now redundant non_legacy_dai_naming flag 2022-06-27 13:16:51 +01:00
sun50i-codec-analog.c ASoC: sun50i-codec-analog: Add support for internal bias 2022-06-27 13:18:04 +01:00