mbox series

[00/96] Refactor non_legacy_dai_naming flag

Message ID 20220616143429.1324494-1-ckeepax@opensource.cirrus.com
Headers show
Series Refactor non_legacy_dai_naming flag | expand

Message

Charles Keepax June 16, 2022, 2:32 p.m. UTC
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.

Thanks,
Charles

Charles Keepax (96):
  ASoC: soc-component: Add legacy_dai_naming flag
  soundwire: intel: Migrate to new style legacy DAI naming flag
  drm/vc4: Migrate to new style legacy DAI naming flag
  ASoC: img: Migrate to new style legacy DAI naming flag
  ASoC: spear: Migrate to new style legacy DAI naming flag
  ASoC: jz4740-i2c: Migrate to new style legacy DAI naming flag
  ASoC: ep93xx: Migrate to new style legacy DAI naming flag
  ASoC: stm32: Migrate to new style legacy DAI naming flag
  ASoC: bcm: Migrate to new style legacy DAI naming flag
  ASoC: sh: Migrate to new style legacy DAI naming flag
  ASoC: tegra: Migrate to new style legacy DAI naming flag
  ASoC: hisilicon: Migrate to new style legacy DAI naming flag
  ASoC: xilinx: Migrate to new style legacy DAI naming flag
  ASoC: sunxi: Migrate to new style legacy DAI naming flag
  ASoC: Intel: Migrate to new style legacy DAI naming flag
  ASoC: meson: Migrate to new style legacy DAI naming flag
  ASoC: sti-uniperf: Migrate to new style legacy DAI naming flag
  ASoC: amd: Migrate to new style legacy DAI naming flag
  ASoC: atmel: Migrate to new style legacy DAI naming flag
  ASoC: fsl: Migrate to new style legacy DAI naming flag
  ASoC: xtensa: Migrate to new style legacy DAI naming flag
  ASoC: adi: Migrate to new style legacy DAI naming flag
  ASoC: dwc: Migrate to new style legacy DAI naming flag
  ASoC: qcom: Migrate to new style legacy DAI naming flag
  ASoC: test-component: Migrate to new style legacy DAI naming flag
  ASoC: rockchip: Migrate to new style legacy DAI naming flag
  ASoC: au1x: Migrate to new style legacy DAI naming flag
  ASoC: pxa: Migrate to new style legacy DAI naming flag
  ASoC: sof: Migrate to new style legacy DAI naming flag
  ASoC: ux500: Migrate to new style legacy DAI naming flag
  ASoC: ti: Migrate to new style legacy DAI naming flag
  ASoC: mxs-saif: Migrate to new style legacy DAI naming flag
  ASoC: samsung: Migrate to new style legacy DAI naming flag
  ASoC: core: Switch core to new DAI naming flag
  media: TDA1997x: Remove now redundant non_legacy_dai_naming flag
  ASoC: fsl: Remove now redundant non_legacy_dai_naming flag
  ASoC: meson: Remove now redundant non_legacy_dai_naming flag
  ASoC: pistachio: Remove now redundant non_legacy_dai_naming flag
  ASoC: samsung: Remove now redundant non_legacy_dai_naming flag
  ASoC: soc-utils: Remove now redundant non_legacy_dai_naming flag
  ASoC: sunxi: Remove now redundant non_legacy_dai_naming flag
  ASoC: tegra: Remove now redundant non_legacy_dai_naming flag
  ASoC: test-component: Remove now redundant non_legacy_dai_naming flag
  ASoC: topology: KUnit: Remove now redundant non_legacy_dai_naming flag
  ASoC: uniphier: Remove now redundant non_legacy_dai_naming flag
  ASoC: ad*: Remove now redundant non_legacy_dai_naming flag
  ASoC: ak*: Remove now redundant non_legacy_dai_naming flag
  ASoC: alc*: Remove now redundant non_legacy_dai_naming flag
  ASoC: cs*: Remove now redundant non_legacy_dai_naming flag
  ASoC: da*: Remove now redundant non_legacy_dai_naming flag
  ASoC: es*: Remove now redundant non_legacy_dai_naming flag
  ASoC: max*: Remove now redundant non_legacy_dai_naming flag
  ASoC: msm*: Remove now redundant non_legacy_dai_naming flag
  ASoC: nau*: Remove now redundant non_legacy_dai_naming flag
  ASoC: pcm*: Remove now redundant non_legacy_dai_naming flag
  ASoC: rt*: Remove now redundant non_legacy_dai_naming flag
  ASoC: spdif: Remove now redundant non_legacy_dai_naming flag
  ASoC: ssm*: Remove now redundant non_legacy_dai_naming flag
  ASoC: sta*: Remove now redundant non_legacy_dai_naming flag
  ASoC: tas*: Remove now redundant non_legacy_dai_naming flag
  ASoC: tfa*: Remove now redundant non_legacy_dai_naming flag
  ASoC: tlv320*: Remove now redundant non_legacy_dai_naming flag
  ASoC: twl*: Remove now redundant non_legacy_dai_naming flag
  ASoC: uda*: Remove now redundant non_legacy_dai_naming flag
  ASoC: wm*: Remove now redundant non_legacy_dai_naming flag
  ASoC: 88pm860x: Remove now redundant non_legacy_dai_naming flag
  ASoC: ab8500: Remove now redundant non_legacy_dai_naming flag
  ASoC: ac97: Remove now redundant non_legacy_dai_naming flag
  ASoC: ads117x: Remove now redundant non_legacy_dai_naming flag
  ASoC: bd28623: Remove now redundant non_legacy_dai_naming flag
  ASoC: bt-sco: Remove now redundant non_legacy_dai_naming flag
  ASoC: cpcap: Remove now redundant non_legacy_dai_naming flag
  ASoC: cq93vc: Remove now redundant non_legacy_dai_naming flag
  ASoC: cx20442: Remove now redundant non_legacy_dai_naming flag
  ASoC: dmic: Remove now redundant non_legacy_dai_naming flag
  ASoC: gtm601: Remove now redundant non_legacy_dai_naming flag
  ASoC: hdac_hdmi: Remove now redundant non_legacy_dai_naming flag
  ASoC: hdmi-codec: Remove now redundant non_legacy_dai_naming flag
  ASoC: ics43432: Remove now redundant non_legacy_dai_naming flag
  ASoC: inno_rk3036: Remove now redundant non_legacy_dai_naming flag
  ASoC: Intel: avs: Remove now redundant non_legacy_dai_naming flag
  ASoC: isabelle: Remove now redundant non_legacy_dai_naming flag
  ASoC: jz4740: Remove now redundant non_legacy_dai_naming flag
  ASoC: lm49453: Remove now redundant non_legacy_dai_naming flag
  ASoC: lochnagar: Remove now redundant non_legacy_dai_naming flag
  ASoC: mc13783: Remove now redundant non_legacy_dai_naming flag
  ASoC: ml26124: Remove now redundant non_legacy_dai_naming flag
  ASoC: rk817: Remove now redundant non_legacy_dai_naming flag
  ASoC: sgtl5000: Remove now redundant non_legacy_dai_naming flag
  ASoC: si476x: Remove now redundant non_legacy_dai_naming flag
  ASoC: stac9766: Remove now redundant non_legacy_dai_naming flag
  ASoC: sti-sas: Remove now redundant non_legacy_dai_naming flag
  ASoC: tscs42xx: Remove now redundant non_legacy_dai_naming flag
  ASoC: wl1273: Remove now redundant non_legacy_dai_naming flag
  ASoC: zl38060: Remove now redundant non_legacy_dai_naming flag
  ASoC: soc-component: Remove non_legacy_dai_naming flag

 drivers/gpu/drm/vc4/vc4_hdmi.c         |  1 +
 drivers/media/i2c/tda1997x.c           |  1 -
 drivers/soundwire/intel.c              |  5 +++--
 include/sound/soc-component.h          |  2 +-
 sound/soc/adi/axi-i2s.c                |  1 +
 sound/soc/adi/axi-spdif.c              |  1 +
 sound/soc/amd/acp/acp-platform.c       | 15 ++++++++-------
 sound/soc/amd/raven/acp3x-i2s.c        |  3 ++-
 sound/soc/amd/renoir/acp3x-pdm-dma.c   | 13 +++++++------
 sound/soc/amd/vangogh/acp5x-i2s.c      |  1 +
 sound/soc/amd/yc/acp6x-pdm-dma.c       | 13 +++++++------
 sound/soc/atmel/atmel-classd.c         |  1 +
 sound/soc/atmel/atmel-i2s.c            |  3 ++-
 sound/soc/atmel/atmel-pdmic.c          |  1 +
 sound/soc/atmel/atmel_ssc_dai.c        |  7 ++++---
 sound/soc/atmel/mchp-i2s-mcc.c         |  3 ++-
 sound/soc/atmel/mchp-pdmc.c            |  1 +
 sound/soc/atmel/mchp-spdifrx.c         |  3 ++-
 sound/soc/atmel/mchp-spdiftx.c         |  3 ++-
 sound/soc/au1x/ac97c.c                 |  3 ++-
 sound/soc/au1x/i2sc.c                  |  3 ++-
 sound/soc/au1x/psc-ac97.c              |  3 ++-
 sound/soc/au1x/psc-i2s.c               |  3 ++-
 sound/soc/bcm/bcm2835-i2s.c            |  3 ++-
 sound/soc/bcm/bcm63xx-i2s-whistler.c   |  1 +
 sound/soc/bcm/cygnus-ssp.c             |  7 ++++---
 sound/soc/cirrus/ep93xx-ac97.c         |  3 ++-
 sound/soc/cirrus/ep93xx-i2s.c          |  7 ++++---
 sound/soc/codecs/88pm860x-codec.c      |  1 -
 sound/soc/codecs/ab8500-codec.c        |  1 -
 sound/soc/codecs/ac97.c                |  1 -
 sound/soc/codecs/ad1836.c              |  1 -
 sound/soc/codecs/ad193x.c              |  1 -
 sound/soc/codecs/ad1980.c              |  1 -
 sound/soc/codecs/ad73311.c             |  1 -
 sound/soc/codecs/adau1373.c            |  1 -
 sound/soc/codecs/adau1701.c            |  1 -
 sound/soc/codecs/adau1761.c            |  1 -
 sound/soc/codecs/adau1781.c            |  1 -
 sound/soc/codecs/adau1977.c            |  1 -
 sound/soc/codecs/adau7002.c            |  1 -
 sound/soc/codecs/adau7118.c            |  1 -
 sound/soc/codecs/adav80x.c             |  1 -
 sound/soc/codecs/ads117x.c             |  1 -
 sound/soc/codecs/ak4104.c              |  1 -
 sound/soc/codecs/ak4118.c              |  1 -
 sound/soc/codecs/ak4375.c              |  1 -
 sound/soc/codecs/ak4458.c              |  2 --
 sound/soc/codecs/ak4535.c              |  1 -
 sound/soc/codecs/ak4554.c              |  1 -
 sound/soc/codecs/ak4613.c              |  1 -
 sound/soc/codecs/ak4641.c              |  1 -
 sound/soc/codecs/ak4642.c              |  1 -
 sound/soc/codecs/ak4671.c              |  1 -
 sound/soc/codecs/ak5386.c              |  1 -
 sound/soc/codecs/ak5558.c              |  2 --
 sound/soc/codecs/alc5623.c             |  1 -
 sound/soc/codecs/alc5632.c             |  1 -
 sound/soc/codecs/bd28623.c             |  1 -
 sound/soc/codecs/bt-sco.c              |  1 -
 sound/soc/codecs/cpcap.c               |  1 -
 sound/soc/codecs/cq93vc.c              |  1 -
 sound/soc/codecs/cs35l32.c             |  1 -
 sound/soc/codecs/cs35l33.c             |  1 -
 sound/soc/codecs/cs35l34.c             |  1 -
 sound/soc/codecs/cs35l35.c             |  1 -
 sound/soc/codecs/cs35l36.c             |  1 -
 sound/soc/codecs/cs4234.c              |  1 -
 sound/soc/codecs/cs4265.c              |  1 -
 sound/soc/codecs/cs4270.c              |  1 -
 sound/soc/codecs/cs4271.c              |  1 -
 sound/soc/codecs/cs42l42.c             |  1 -
 sound/soc/codecs/cs42l51.c             |  1 -
 sound/soc/codecs/cs42l52.c             |  1 -
 sound/soc/codecs/cs42l56.c             |  1 -
 sound/soc/codecs/cs42l73.c             |  1 -
 sound/soc/codecs/cs42xx8.c             |  1 -
 sound/soc/codecs/cs43130.c             |  1 -
 sound/soc/codecs/cs4341.c              |  1 -
 sound/soc/codecs/cs4349.c              |  1 -
 sound/soc/codecs/cs47l15.c             |  1 -
 sound/soc/codecs/cs47l24.c             |  1 -
 sound/soc/codecs/cs47l35.c             |  1 -
 sound/soc/codecs/cs47l85.c             |  1 -
 sound/soc/codecs/cs47l90.c             |  1 -
 sound/soc/codecs/cs47l92.c             |  1 -
 sound/soc/codecs/cs53l30.c             |  1 -
 sound/soc/codecs/cx20442.c             |  1 -
 sound/soc/codecs/da7210.c              |  1 -
 sound/soc/codecs/da7213.c              |  1 -
 sound/soc/codecs/da7218.c              |  1 -
 sound/soc/codecs/da7219.c              |  1 -
 sound/soc/codecs/da732x.c              |  1 -
 sound/soc/codecs/da9055.c              |  1 -
 sound/soc/codecs/dmic.c                |  1 -
 sound/soc/codecs/es7134.c              |  1 -
 sound/soc/codecs/es7241.c              |  1 -
 sound/soc/codecs/es8316.c              |  1 -
 sound/soc/codecs/es8328.c              |  1 -
 sound/soc/codecs/gtm601.c              |  1 -
 sound/soc/codecs/hdac_hdmi.c           |  1 -
 sound/soc/codecs/hdmi-codec.c          |  1 -
 sound/soc/codecs/ics43432.c            |  1 -
 sound/soc/codecs/inno_rk3036.c         |  1 -
 sound/soc/codecs/isabelle.c            |  1 -
 sound/soc/codecs/jz4740.c              |  2 --
 sound/soc/codecs/lm49453.c             |  1 -
 sound/soc/codecs/lochnagar-sc.c        |  1 -
 sound/soc/codecs/max98088.c            |  1 -
 sound/soc/codecs/max98090.c            |  1 -
 sound/soc/codecs/max98095.c            |  1 -
 sound/soc/codecs/max98357a.c           |  1 -
 sound/soc/codecs/max98371.c            |  1 -
 sound/soc/codecs/max98373.c            |  2 --
 sound/soc/codecs/max98390.c            |  1 -
 sound/soc/codecs/max98396.c            |  2 --
 sound/soc/codecs/max9850.c             |  1 -
 sound/soc/codecs/max98520.c            |  1 -
 sound/soc/codecs/max9860.c             |  1 -
 sound/soc/codecs/max9867.c             |  1 -
 sound/soc/codecs/max98925.c            |  1 -
 sound/soc/codecs/max98926.c            |  1 -
 sound/soc/codecs/max98927.c            |  1 -
 sound/soc/codecs/mc13783.c             |  1 -
 sound/soc/codecs/ml26124.c             |  1 -
 sound/soc/codecs/msm8916-wcd-analog.c  |  1 -
 sound/soc/codecs/msm8916-wcd-digital.c |  1 -
 sound/soc/codecs/nau8315.c             |  1 -
 sound/soc/codecs/nau8540.c             |  1 -
 sound/soc/codecs/nau8810.c             |  1 -
 sound/soc/codecs/nau8821.c             |  1 -
 sound/soc/codecs/nau8822.c             |  1 -
 sound/soc/codecs/nau8824.c             |  1 -
 sound/soc/codecs/nau8825.c             |  1 -
 sound/soc/codecs/pcm1681.c             |  1 -
 sound/soc/codecs/pcm1789.c             |  1 -
 sound/soc/codecs/pcm179x.c             |  1 -
 sound/soc/codecs/pcm186x.c             |  2 --
 sound/soc/codecs/pcm3008.c             |  1 -
 sound/soc/codecs/pcm3168a.c            |  1 -
 sound/soc/codecs/pcm5102a.c            |  1 -
 sound/soc/codecs/pcm512x.c             |  1 -
 sound/soc/codecs/rk817_codec.c         |  1 -
 sound/soc/codecs/rt1011.c              |  1 -
 sound/soc/codecs/rt1015.c              |  1 -
 sound/soc/codecs/rt1015p.c             |  1 -
 sound/soc/codecs/rt1016.c              |  1 -
 sound/soc/codecs/rt1019.c              |  1 -
 sound/soc/codecs/rt1305.c              |  1 -
 sound/soc/codecs/rt1308.c              |  1 -
 sound/soc/codecs/rt274.c               |  1 -
 sound/soc/codecs/rt286.c               |  1 -
 sound/soc/codecs/rt298.c               |  1 -
 sound/soc/codecs/rt5514.c              |  1 -
 sound/soc/codecs/rt5616.c              |  1 -
 sound/soc/codecs/rt5631.c              |  1 -
 sound/soc/codecs/rt5640.c              |  2 --
 sound/soc/codecs/rt5645.c              |  1 -
 sound/soc/codecs/rt5651.c              |  1 -
 sound/soc/codecs/rt5659.c              |  1 -
 sound/soc/codecs/rt5660.c              |  1 -
 sound/soc/codecs/rt5663.c              |  1 -
 sound/soc/codecs/rt5665.c              |  1 -
 sound/soc/codecs/rt5668.c              |  1 -
 sound/soc/codecs/rt5670.c              |  1 -
 sound/soc/codecs/rt5677.c              |  1 -
 sound/soc/codecs/rt5682.c              |  1 -
 sound/soc/codecs/rt5682s.c             |  1 -
 sound/soc/codecs/sgtl5000.c            |  1 -
 sound/soc/codecs/si476x.c              |  1 -
 sound/soc/codecs/spdif_receiver.c      |  1 -
 sound/soc/codecs/spdif_transmitter.c   |  1 -
 sound/soc/codecs/ssm2518.c             |  1 -
 sound/soc/codecs/ssm2602.c             |  1 -
 sound/soc/codecs/ssm4567.c             |  1 -
 sound/soc/codecs/sta32x.c              |  1 -
 sound/soc/codecs/sta350.c              |  1 -
 sound/soc/codecs/sta529.c              |  1 -
 sound/soc/codecs/stac9766.c            |  2 --
 sound/soc/codecs/sti-sas.c             |  1 -
 sound/soc/codecs/tas2552.c             |  1 -
 sound/soc/codecs/tas2562.c             |  2 --
 sound/soc/codecs/tas2764.c             |  1 -
 sound/soc/codecs/tas2770.c             |  1 -
 sound/soc/codecs/tas5086.c             |  1 -
 sound/soc/codecs/tas571x.c             |  1 -
 sound/soc/codecs/tas5720.c             |  2 --
 sound/soc/codecs/tas5805m.c            |  1 -
 sound/soc/codecs/tas6424.c             |  1 -
 sound/soc/codecs/tfa9879.c             |  1 -
 sound/soc/codecs/tfa989x.c             |  1 -
 sound/soc/codecs/tlv320adcx140.c       |  1 -
 sound/soc/codecs/tlv320aic23.c         |  1 -
 sound/soc/codecs/tlv320aic26.c         |  1 -
 sound/soc/codecs/tlv320aic31xx.c       |  1 -
 sound/soc/codecs/tlv320aic32x4.c       |  2 --
 sound/soc/codecs/tlv320aic3x.c         |  1 -
 sound/soc/codecs/tlv320dac33.c         |  1 -
 sound/soc/codecs/tscs42xx.c            |  1 -
 sound/soc/codecs/twl4030.c             |  1 -
 sound/soc/codecs/twl6040.c             |  1 -
 sound/soc/codecs/uda1334.c             |  1 -
 sound/soc/codecs/uda134x.c             |  1 -
 sound/soc/codecs/uda1380.c             |  1 -
 sound/soc/codecs/wl1273.c              |  1 -
 sound/soc/codecs/wm0010.c              |  1 -
 sound/soc/codecs/wm1250-ev1.c          |  1 -
 sound/soc/codecs/wm2000.c              |  1 -
 sound/soc/codecs/wm2200.c              |  1 -
 sound/soc/codecs/wm5100.c              |  1 -
 sound/soc/codecs/wm5102.c              |  1 -
 sound/soc/codecs/wm5110.c              |  1 -
 sound/soc/codecs/wm8350.c              |  1 -
 sound/soc/codecs/wm8400.c              |  1 -
 sound/soc/codecs/wm8510.c              |  1 -
 sound/soc/codecs/wm8523.c              |  1 -
 sound/soc/codecs/wm8524.c              |  1 -
 sound/soc/codecs/wm8580.c              |  1 -
 sound/soc/codecs/wm8711.c              |  1 -
 sound/soc/codecs/wm8727.c              |  1 -
 sound/soc/codecs/wm8728.c              |  1 -
 sound/soc/codecs/wm8731.c              |  1 -
 sound/soc/codecs/wm8737.c              |  1 -
 sound/soc/codecs/wm8741.c              |  1 -
 sound/soc/codecs/wm8750.c              |  1 -
 sound/soc/codecs/wm8753.c              |  1 -
 sound/soc/codecs/wm8770.c              |  1 -
 sound/soc/codecs/wm8776.c              |  1 -
 sound/soc/codecs/wm8782.c              |  1 -
 sound/soc/codecs/wm8804.c              |  1 -
 sound/soc/codecs/wm8900.c              |  1 -
 sound/soc/codecs/wm8903.c              |  1 -
 sound/soc/codecs/wm8904.c              |  1 -
 sound/soc/codecs/wm8940.c              |  1 -
 sound/soc/codecs/wm8955.c              |  1 -
 sound/soc/codecs/wm8960.c              |  1 -
 sound/soc/codecs/wm8961.c              |  1 -
 sound/soc/codecs/wm8962.c              |  1 -
 sound/soc/codecs/wm8971.c              |  1 -
 sound/soc/codecs/wm8974.c              |  1 -
 sound/soc/codecs/wm8978.c              |  1 -
 sound/soc/codecs/wm8983.c              |  1 -
 sound/soc/codecs/wm8985.c              |  1 -
 sound/soc/codecs/wm8988.c              |  1 -
 sound/soc/codecs/wm8990.c              |  1 -
 sound/soc/codecs/wm8991.c              |  1 -
 sound/soc/codecs/wm8993.c              |  1 -
 sound/soc/codecs/wm8994.c              |  1 -
 sound/soc/codecs/wm8995.c              |  1 -
 sound/soc/codecs/wm8996.c              |  2 --
 sound/soc/codecs/wm8997.c              |  1 -
 sound/soc/codecs/wm8998.c              |  1 -
 sound/soc/codecs/wm9081.c              |  1 -
 sound/soc/codecs/wm9090.c              |  1 -
 sound/soc/codecs/wm9705.c              |  1 -
 sound/soc/codecs/wm9712.c              |  1 -
 sound/soc/codecs/wm9713.c              |  1 -
 sound/soc/codecs/zl38060.c             |  1 -
 sound/soc/dwc/dwc-i2s.c                |  7 ++++---
 sound/soc/fsl/fsl_aud2htx.c            |  3 ++-
 sound/soc/fsl/fsl_easrc.c              |  7 ++++---
 sound/soc/fsl/fsl_esai.c               |  3 ++-
 sound/soc/fsl/fsl_mqs.c                |  1 -
 sound/soc/fsl/fsl_rpmsg.c              |  3 ++-
 sound/soc/fsl/fsl_sai.c                |  3 ++-
 sound/soc/fsl/fsl_spdif.c              |  3 ++-
 sound/soc/fsl/fsl_ssi.c                |  1 +
 sound/soc/fsl/fsl_xcvr.c               |  3 ++-
 sound/soc/fsl/mpc5200_psc_i2s.c        |  3 ++-
 sound/soc/generic/test-component.c     |  2 +-
 sound/soc/hisilicon/hi6210-i2s.c       |  1 +
 sound/soc/img/img-i2s-in.c             |  3 ++-
 sound/soc/img/img-i2s-out.c            |  3 ++-
 sound/soc/img/img-parallel-out.c       |  3 ++-
 sound/soc/img/img-spdif-in.c           |  3 ++-
 sound/soc/img/img-spdif-out.c          |  3 ++-
 sound/soc/img/pistachio-internal-dac.c |  1 -
 sound/soc/intel/avs/pcm.c              |  2 --
 sound/soc/intel/keembay/kmb_platform.c | 14 ++++++++------
 sound/soc/jz4740/jz4740-i2s.c          |  7 ++++---
 sound/soc/meson/aiu-acodec-ctrl.c      |  1 -
 sound/soc/meson/aiu-codec-ctrl.c       |  1 -
 sound/soc/meson/axg-frddr.c            |  3 +++
 sound/soc/meson/axg-pdm.c              |  4 +++-
 sound/soc/meson/axg-spdifin.c          |  1 +
 sound/soc/meson/axg-spdifout.c         |  1 +
 sound/soc/meson/axg-toddr.c            |  3 +++
 sound/soc/meson/g12a-toacodec.c        |  2 --
 sound/soc/meson/g12a-tohdmitx.c        |  1 -
 sound/soc/meson/t9015.c                |  1 -
 sound/soc/mxs/mxs-saif.c               |  3 ++-
 sound/soc/pxa/mmp-sspa.c               |  9 +++++----
 sound/soc/pxa/pxa-ssp.c                | 21 +++++++++++----------
 sound/soc/pxa/pxa2xx-i2s.c             | 21 +++++++++++----------
 sound/soc/qcom/lpass-cpu.c             |  1 +
 sound/soc/qcom/qdsp6/q6asm-dai.c       | 23 ++++++++++++-----------
 sound/soc/rockchip/rockchip_i2s.c      |  1 +
 sound/soc/rockchip/rockchip_i2s_tdm.c  |  1 +
 sound/soc/rockchip/rockchip_pdm.c      |  1 +
 sound/soc/rockchip/rockchip_spdif.c    |  1 +
 sound/soc/samsung/aries_wm8994.c       |  1 -
 sound/soc/samsung/i2s.c                |  2 ++
 sound/soc/samsung/pcm.c                |  3 ++-
 sound/soc/samsung/s3c2412-i2s.c        |  7 ++++---
 sound/soc/samsung/s3c24xx-i2s.c        |  7 ++++---
 sound/soc/samsung/spdif.c              |  7 ++++---
 sound/soc/sh/hac.c                     |  3 ++-
 sound/soc/sh/rcar/core.c               | 11 ++++++-----
 sound/soc/sh/rz-ssi.c                  |  9 +++++----
 sound/soc/sh/siu_pcm.c                 | 17 +++++++++--------
 sound/soc/sh/ssi.c                     |  3 ++-
 sound/soc/soc-core.c                   |  2 +-
 sound/soc/soc-topology-test.c          |  3 ---
 sound/soc/soc-utils.c                  |  1 -
 sound/soc/sof/pcm.c                    |  2 ++
 sound/soc/sof/sof-client-probes.c      |  1 +
 sound/soc/spear/spdif_in.c             |  3 ++-
 sound/soc/spear/spdif_out.c            |  3 ++-
 sound/soc/sti/sti_uniperif.c           |  3 ++-
 sound/soc/stm/stm32_adfsdm.c           |  1 +
 sound/soc/stm/stm32_i2s.c              |  1 +
 sound/soc/stm/stm32_sai_sub.c          |  1 +
 sound/soc/stm/stm32_spdifrx.c          |  1 +
 sound/soc/sunxi/sun4i-codec.c          |  7 ++-----
 sound/soc/sunxi/sun4i-i2s.c            |  3 ++-
 sound/soc/sunxi/sun4i-spdif.c          |  3 ++-
 sound/soc/sunxi/sun8i-codec.c          |  1 -
 sound/soc/tegra/tegra20_ac97.c         |  3 ++-
 sound/soc/tegra/tegra20_i2s.c          |  3 ++-
 sound/soc/tegra/tegra20_spdif.c        |  1 +
 sound/soc/tegra/tegra210_i2s.c         |  1 -
 sound/soc/tegra/tegra30_i2s.c          |  3 ++-
 sound/soc/ti/davinci-i2s.c             |  3 ++-
 sound/soc/ti/davinci-mcasp.c           |  3 ++-
 sound/soc/ti/davinci-vcif.c            |  3 ++-
 sound/soc/ti/omap-dmic.c               |  3 ++-
 sound/soc/ti/omap-hdmi.c               |  1 +
 sound/soc/ti/omap-mcbsp.c              |  3 ++-
 sound/soc/ti/omap-mcpdm.c              |  7 ++++---
 sound/soc/uniphier/evea.c              |  1 -
 sound/soc/ux500/ux500_msp_dai.c        |  3 ++-
 sound/soc/xilinx/xlnx_formatter_pcm.c  | 16 ++++++++--------
 sound/soc/xilinx/xlnx_i2s.c            |  1 +
 sound/soc/xilinx/xlnx_spdif.c          |  1 +
 sound/soc/xtensa/xtfpga-i2s.c          | 15 ++++++++-------
 345 files changed, 274 insertions(+), 435 deletions(-)

Comments

Maxime Ripard June 17, 2022, 7:25 a.m. UTC | #1
On Thu, Jun 16, 2022 at 03:32:56PM +0100, Charles Keepax wrote:
> 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).
> This driver appears 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>

Acked-by: Maxime Ripard <maxime@cerno.tech>

Thanks!
Maxime
Mark Brown June 29, 2022, 4:23 p.m. UTC | #2
On Thu, 16 Jun 2022 15:32:53 +0100, Charles Keepax wrote:
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[01/96] ASoC: soc-component: Add legacy_dai_naming flag
        commit: 1c348f748b4dd7711c5564a8fce0842529498dff
[02/96] soundwire: intel: Migrate to new style legacy DAI naming flag
        commit: ca68202098a4416501cc9b5d68a54de22d754766
[03/96] drm/vc4: Migrate to new style legacy DAI naming flag
        commit: db827cb34ca38f4106f7c667bea3bbb48bc73552
[04/96] ASoC: img: Migrate to new style legacy DAI naming flag
        commit: 5f9d69986014945b826c712081678446c1f10fd7
[05/96] ASoC: spear: Migrate to new style legacy DAI naming flag
        commit: eeb021ee8fab0baae82e3784664666fd6b826e89
[06/96] ASoC: jz4740-i2c: Migrate to new style legacy DAI naming flag
        commit: 2bebc3b622c3c300eb3a3f603473429d8264c3b6
[07/96] ASoC: ep93xx: Migrate to new style legacy DAI naming flag
        commit: fe58b58330434ffad5fa0bc97e177aa93a9a6222
[08/96] ASoC: stm32: Migrate to new style legacy DAI naming flag
        commit: 36f07985f81b7482dceb8e650d2ce1f0222294d1
[09/96] ASoC: bcm: Migrate to new style legacy DAI naming flag
        commit: b9a0db0ae5247d92f379107a9c479f881914999d
[10/96] ASoC: sh: Migrate to new style legacy DAI naming flag
        commit: f712ff57a27090baff61f92bdb6521e8781d5e6b
[11/96] ASoC: tegra: Migrate to new style legacy DAI naming flag
        commit: 3172582c10540d4bf1caac1c39c903793648db8f
[12/96] ASoC: hisilicon: Migrate to new style legacy DAI naming flag
        commit: bf6dacb784f0efb5a225f6560d693fa71c7fda64
[13/96] ASoC: xilinx: Migrate to new style legacy DAI naming flag
        commit: bd486b070b1e24b38b3d6d7e33abffe4a18e3296
[14/96] ASoC: sunxi: Migrate to new style legacy DAI naming flag
        commit: f450b5dbce413b276e6c9215b40868b905c7b634
[15/96] ASoC: Intel: Migrate to new style legacy DAI naming flag
        commit: 725cf3bc6009b7fa156b73982eddf23c71767fbb
[16/96] ASoC: meson: Migrate to new style legacy DAI naming flag
        commit: d8572da099247860e97b27a7fddc9d80a71b8c25
[17/96] ASoC: sti-uniperf: Migrate to new style legacy DAI naming flag
        commit: ad483da7b0a17fdf4df0bd75b2cf29b5650ca2f7
[18/96] ASoC: amd: Migrate to new style legacy DAI naming flag
        commit: 0bc1e7d1fc3c50cf1eb62cd3c8d2b73c5f6d83fe
[19/96] ASoC: atmel: Migrate to new style legacy DAI naming flag
        commit: 7593e00807fb62e9f5e7367fc2500428cc317ff0
[20/96] ASoC: fsl: Migrate to new style legacy DAI naming flag
        commit: 1e63fcc74ace9824f3529eeabbb8f1881a7d3800
[21/96] ASoC: xtensa: Migrate to new style legacy DAI naming flag
        commit: f257dea1c589fa3f558502b3ac7b1c09699a73ab
[22/96] ASoC: adi: Migrate to new style legacy DAI naming flag
        commit: 9a34161a0bc90df825694195659d894e80afe7a3
[23/96] ASoC: dwc: Migrate to new style legacy DAI naming flag
        commit: e740ef3d9418db78ac7a8a24071933f9146af6e4
[24/96] ASoC: qcom: Migrate to new style legacy DAI naming flag
        commit: 8135d0290a9a1f1f752bb374f93a017b2074d09b
[25/96] ASoC: test-component: Migrate to new style legacy DAI naming flag
        commit: d73130ba523b88a3edb097ae3eb9f93df844b5e2
[26/96] ASoC: rockchip: Migrate to new style legacy DAI naming flag
        commit: d48a77173534df90788075e76fa88c52b7395a1e
[27/96] ASoC: au1x: Migrate to new style legacy DAI naming flag
        commit: 8e750817a1943b49d81c633f48370bce93bab98c
[28/96] ASoC: pxa: Migrate to new style legacy DAI naming flag
        commit: 05603f15b67a517c05ee2e2298e9accb8b7f1794
[29/96] ASoC: sof: Migrate to new style legacy DAI naming flag
        commit: a718ba30038402e6daa311c566d9be39e4ab3f05
[30/96] ASoC: ux500: Migrate to new style legacy DAI naming flag
        commit: 768be0d633d9ff668a7ca4ba3b8e3eebea328cb8
[31/96] ASoC: ti: Migrate to new style legacy DAI naming flag
        commit: 39c84e77da04f66f20fc54c6c6f49a5863bace5d
[32/96] ASoC: mxs-saif: Migrate to new style legacy DAI naming flag
        commit: 4cc4e22843e9bec6e9083d85e8a0bfed85fe5423
[33/96] ASoC: samsung: Migrate to new style legacy DAI naming flag
        commit: f7bfa516a39a111a5d3b6473cdac20ee6075358c
[34/96] ASoC: core: Switch core to new DAI naming flag
        commit: 129f055a2144ab588a43c2e66d21a1f55ce54f81
[35/96] media: TDA1997x: Remove now redundant non_legacy_dai_naming flag
        commit: 55b566ded44db29e9c1ab61623c60ade4600301e
[36/96] ASoC: fsl: Remove now redundant non_legacy_dai_naming flag
        commit: 89836f00429b5c3dedb2e2f30262e53847b82ad0
[37/96] ASoC: meson: Remove now redundant non_legacy_dai_naming flag
        commit: 9455e289246d8769631e6bec78c0c2ef40171b70
[38/96] ASoC: pistachio: Remove now redundant non_legacy_dai_naming flag
        commit: 7e91c90863df7387b9e1f04d9bfc2a43c77d2a46
[39/96] ASoC: samsung: Remove now redundant non_legacy_dai_naming flag
        commit: 752044db5b54c867dadfbd0daea90f1b9ecb21f1
[40/96] ASoC: soc-utils: Remove now redundant non_legacy_dai_naming flag
        commit: 0f91b4de756415382c10c502010c7536500a1632
[41/96] ASoC: sunxi: Remove now redundant non_legacy_dai_naming flag
        commit: 4c6391f59c459e7cf8d584299d0746cb681c2cb7
[42/96] ASoC: tegra: Remove now redundant non_legacy_dai_naming flag
        commit: 63c0ec9ebfec499d603993ea8244907bfbe39598
[43/96] ASoC: test-component: Remove now redundant non_legacy_dai_naming flag
        commit: 485c5924f262d4aef720c508ee2ff3cb8e2e531b
[44/96] ASoC: topology: KUnit: Remove now redundant non_legacy_dai_naming flag
        commit: 7cfb102a55556f5f165a2150a6f77a5aa7257599
[45/96] ASoC: uniphier: Remove now redundant non_legacy_dai_naming flag
        commit: 36e79a44b12e4ce2d8659f47dbcce42690919567
[46/96] ASoC: ad*: Remove now redundant non_legacy_dai_naming flag
        commit: d9e7ddb98604de6470a0fe4f9e2434a55ca35730
[47/96] ASoC: ak*: Remove now redundant non_legacy_dai_naming flag
        commit: 410e73a5338d72c31a32a50c1629d81d8ce6a71f
[48/96] ASoC: alc*: Remove now redundant non_legacy_dai_naming flag
        commit: 60d28b5c47c7f02bb52fc5e52a84d669b9b54dbc
[49/96] ASoC: cs*: Remove now redundant non_legacy_dai_naming flag
        commit: ff946fd98bffe5de450047f54a27492827186b75
[50/96] ASoC: da*: Remove now redundant non_legacy_dai_naming flag
        commit: c03a5b4c419799676013cb0c58c03e00ebe21a61
[51/96] ASoC: es*: Remove now redundant non_legacy_dai_naming flag
        commit: f0b163b4d5a215f610bd64eb8ab8a8906e53bec6
[52/96] ASoC: max*: Remove now redundant non_legacy_dai_naming flag
        commit: d2d3219ebe568fe4ee90ac748939304f7e05a8ec
[53/96] ASoC: msm*: Remove now redundant non_legacy_dai_naming flag
        commit: 736f48714c1b85b0b1f6c88af07989a5828531c9
[54/96] ASoC: nau*: Remove now redundant non_legacy_dai_naming flag
        commit: c2fd88f0029172679917ebc536cfdc4b8fabe168
[55/96] ASoC: pcm*: Remove now redundant non_legacy_dai_naming flag
        commit: 8d4470b8d08b4aab5136cc3265eb0b05d2a1c72d
[56/96] ASoC: rt*: Remove now redundant non_legacy_dai_naming flag
        commit: a524837ddd11bc20ec59d033d0260707cfa3cb99
[57/96] ASoC: spdif: Remove now redundant non_legacy_dai_naming flag
        commit: 792a8a944e7aa3f6ae0733429ba9937d7029ee4b
[58/96] ASoC: ssm*: Remove now redundant non_legacy_dai_naming flag
        commit: a4311a5b1502f747576e5995d1b5ab04f60033f9
[59/96] ASoC: sta*: Remove now redundant non_legacy_dai_naming flag
        commit: 402f437b43870e65377bb97240ee3911858547cb
[60/96] ASoC: tas*: Remove now redundant non_legacy_dai_naming flag
        commit: 02bcc2be4c12763dd4c524e67973afe4d8ea6d4c
[61/96] ASoC: tfa*: Remove now redundant non_legacy_dai_naming flag
        commit: c91f7e94ce931f058543174a409bb082208cae4a
[62/96] ASoC: tlv320*: Remove now redundant non_legacy_dai_naming flag
        commit: 04f3d715df3a463985dc25e55a55dbd970dd77b7
[63/96] ASoC: twl*: Remove now redundant non_legacy_dai_naming flag
        commit: 5947b42cbe0ee580c31f7f327119e7f7c703c25c
[64/96] ASoC: uda*: Remove now redundant non_legacy_dai_naming flag
        commit: 792008f6df86f7e5f861ef80fd4d6eb444a4aa92
[65/96] ASoC: wm*: Remove now redundant non_legacy_dai_naming flag
        commit: 02004449dbe6ec05b5b64a88824939b8fe474b82
[66/96] ASoC: 88pm860x: Remove now redundant non_legacy_dai_naming flag
        commit: 4c90eebd97c519361f32e11de991e299f5b47e3d
[67/96] ASoC: ab8500: Remove now redundant non_legacy_dai_naming flag
        commit: bb426d37dcd9a1474f785fea434875233d24e537
[68/96] ASoC: ac97: Remove now redundant non_legacy_dai_naming flag
        commit: 96b409c94d6766ae8faa9f07fabc3694ddb7d018
[69/96] ASoC: ads117x: Remove now redundant non_legacy_dai_naming flag
        commit: e556a108e0aab4688cb0c7b1c0517e3fab8b5eb4
[70/96] ASoC: bd28623: Remove now redundant non_legacy_dai_naming flag
        commit: 310288271f55ae0edccd01257c9fdf460dd45e30
[71/96] ASoC: bt-sco: Remove now redundant non_legacy_dai_naming flag
        commit: 8c657358f685cec541d7ad3c54f899a65f56783e
[72/96] ASoC: cpcap: Remove now redundant non_legacy_dai_naming flag
        commit: 35c5013ce7ca3ad55974e3517273a0e42140b5e7
[73/96] ASoC: cq93vc: Remove now redundant non_legacy_dai_naming flag
        commit: 73a3dca65cbe5e7de20f3453b6881acf3fb3cfbe
[74/96] ASoC: cx20442: Remove now redundant non_legacy_dai_naming flag
        commit: a0b6e4048228829485a43247c12c7774531728c4
[75/96] ASoC: dmic: Remove now redundant non_legacy_dai_naming flag
        commit: 4eaf75fa427262289a2bc34d3fcfbc602ebbacfa
[76/96] ASoC: gtm601: Remove now redundant non_legacy_dai_naming flag
        commit: 33b179e7513c30f03277f5de2a845e940a9bde9c
[77/96] ASoC: hdac_hdmi: Remove now redundant non_legacy_dai_naming flag
        commit: f02a7d11998eefe8c5627b93627469a0aab8d3da
[78/96] ASoC: hdmi-codec: Remove now redundant non_legacy_dai_naming flag
        commit: f5f8019371b42c742d9777052c189e89a0745319
[79/96] ASoC: ics43432: Remove now redundant non_legacy_dai_naming flag
        commit: e8f88be5c1548791397dadf2250fb5dcc9461f10
[80/96] ASoC: inno_rk3036: Remove now redundant non_legacy_dai_naming flag
        commit: 1f1ee5ae7a8b3d30cbfe18561a4e3b7430e96c9f
[81/96] ASoC: Intel: avs: Remove now redundant non_legacy_dai_naming flag
        commit: 22afe04dd84a63440e69dfc7f0e670404fbce831
[82/96] ASoC: isabelle: Remove now redundant non_legacy_dai_naming flag
        commit: 328bd81743f0823d9604b0098c95f071e7d02805
[83/96] ASoC: jz4740: Remove now redundant non_legacy_dai_naming flag
        commit: dd213681c801fd9d26aef95f4eb563c38f4967f9
[84/96] ASoC: lm49453: Remove now redundant non_legacy_dai_naming flag
        commit: 191889406df931cc2e40abf0a0de141b098f0481
[85/96] ASoC: lochnagar: Remove now redundant non_legacy_dai_naming flag
        commit: 34b89b309441f7f45f68d7ec3633ee3d50921bc8
[86/96] ASoC: mc13783: Remove now redundant non_legacy_dai_naming flag
        commit: 139db4ad9e0b793ffd3f4f23976bf72d5e4e6703
[87/96] ASoC: ml26124: Remove now redundant non_legacy_dai_naming flag
        commit: 7e6fcd7f6223ab32bdccc5e22cdec780cde305c3
[88/96] ASoC: rk817: Remove now redundant non_legacy_dai_naming flag
        commit: 2e938b8edfedb73efd07545a58fe51bb7fc48a56
[89/96] ASoC: sgtl5000: Remove now redundant non_legacy_dai_naming flag
        commit: 81ed3cb8d93936fe32b2b5c213dd56d8ecae7be8
[90/96] ASoC: si476x: Remove now redundant non_legacy_dai_naming flag
        commit: 89571b892e74b9724e155774576651cd675b4110
[91/96] ASoC: stac9766: Remove now redundant non_legacy_dai_naming flag
        commit: e5257aa583b6d9f80e3aaa3ed6fc68c1b1b5925a
[92/96] ASoC: sti-sas: Remove now redundant non_legacy_dai_naming flag
        commit: 20b1894d16547dcd99f190f5a0604a06a0c4479f
[93/96] ASoC: tscs42xx: Remove now redundant non_legacy_dai_naming flag
        commit: c06fb318493a059ac2c47937761d048f9ab1b542
[94/96] ASoC: wl1273: Remove now redundant non_legacy_dai_naming flag
        commit: 11c8bfaacbcd6c8251f65101d5ceeb173a76b1a3
[95/96] ASoC: zl38060: Remove now redundant non_legacy_dai_naming flag
        commit: 4a7a283a41dad608ce32c4ed623cc2caf68150c4
[96/96] ASoC: soc-component: Remove non_legacy_dai_naming flag
        commit: 01936221278c5af60d82b8e78ca74caa491c0d31

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark