Skip to content

ALSA: Reorganize HD-audio driver code

Takashi Iwai linux-kbuild linux-sound regressions 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest27 patches 50 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27ALSA: hda: Move widget capability macros into hdaudio.hinclude/sound/hdaudio.h sound/hda/hdac_device.c sound/hda/hdac_sysfs.c +2 more+45 -431 reply
2/27ALSA: hda: Move HD-audio core stuff into sound/hda/coresound/hda/Kconfig sound/hda/Makefile sound/hda/core/Kconfig +22 more+92 -881 reply
3/27ALSA: hda: Move common codec driver into sound/hda/common directorysound/hda/Kconfig sound/hda/Makefile sound/hda/common/Kconfig +18 more+103 -890 replies
4/27ALSA: hda: Move CONFIG_SND_HDA_PREALLOC_SIZE into sound/hda/commonsound/hda/common/Kconfig sound/hda/core/Kconfig+17 -160 replies
5/27ALSA: hda: Move controller drivers into sound/hda/controllers directorysound/hda/Kconfig sound/hda/Makefile sound/hda/controllers/Kconfig +8 more+63 -6030 replies
6/27ALSA: hda: Move codec drivers into sound/hda/codecs directorysound/hda/Kconfig sound/hda/Makefile sound/hda/codecs/Kconfig +51 more+257 -2477 replies
7/27ALSA: hda: Split Realtek HD-audio codec driversound/hda/codecs/Kconfig sound/hda/codecs/Makefile sound/hda/codecs/realtek/Kconfig +13 more+6191 -57091 reply
8/27ALSA: hda/hdmi: Split vendor codec driverssound/hda/codecs/Kconfig sound/hda/codecs/hdmi/Kconfig sound/hda/codecs/hdmi/Makefile +10 more+2993 -25810 replies
9/27ALSA: hda: Introduce hda_codec_driver opsinclude/sound/hda_codec.h sound/hda/common/bind.c sound/hda/common/codec.c +3 more+137 -380 replies
10/27ALSA: hda/generic: Rewrite to new probe methodsound/hda/codecs/generic.c sound/hda/codecs/generic.h+28 -180 replies
11/27ALSA: hda/realtek: Rewrite to new probe methodsound/hda/codecs/realtek/alc260.c sound/hda/codecs/realtek/alc262.c sound/hda/codecs/realtek/alc268.c +9 more+244 -1285 replies
12/27ALSA: hda/cmedia: Rewrite to new probe methodsound/hda/codecs/Kconfig sound/hda/codecs/Makefile sound/hda/codecs/cm9825.c +1 more+365 -3310 replies
13/27ALSA: hda/analog: Rewrite to new probe methodsound/hda/codecs/analog.c+111 -1100 replies
14/27ALSA: hda/ca0110: Rewrite to new probe methodsound/hda/codecs/ca0110.c+17 -180 replies
15/27ALSA: hda/cirrus: Split to cs420x and cs421x driverssound/hda/codecs/cirrus/Kconfig sound/hda/codecs/cirrus/Makefile sound/hda/codecs/cirrus/cs420x.c +1 more+643 -4990 replies
16/27ALSA: hda/cs8409: Rewrite to new probe methodsound/hda/codecs/cirrus/cs8409-tables.c sound/hda/codecs/cirrus/cs8409.c sound/hda/codecs/cirrus/cs8409.h+33 -281 reply
17/27ALSA: hda/conexant: Rewrite to new probe methodsound/hda/codecs/conexant.c+53 -510 replies
18/27ALSA: hda/senary: Rewrite to new probe methodsound/hda/codecs/senarytech.c+24 -220 replies
19/27ALSA: hda/si3054: Rewrite to new probe methodsound/hda/codecs/si3054.c+26 -270 replies
20/27ALSA: hda/via: Rewrite to new probe methodsound/hda/codecs/via.c+186 -2590 replies
21/27ALSA: hda/sigmatel: Rewrite to new probe methodsound/hda/codecs/sigmatel.c+203 -1950 replies
22/27ALSA: hda/ca0132: Rewrite to new probe methodsound/hda/codecs/ca0132.c sound/hda/codecs/ca0132_regs.h+68 -370 replies
23/27ALSA: hda/hdmi: Rewrite to new probe methodsound/hda/codecs/hdmi/atihdmi.c sound/hda/codecs/hdmi/hdmi.c sound/hda/codecs/hdmi/hdmi_local.h +5 more+424 -3382 replies
24/27ALSA: hda: Drop old codec binding methodinclude/sound/hda_codec.h sound/hda/Makefile sound/hda/codecs/generic.c +7 more+26 -1120 replies
25/27ALSA: hda: Drop superfluous driver->ops NULL checkssound/hda/common/bind.c sound/hda/common/codec.c sound/hda/common/hda_local.h +2 more+15 -160 replies
26/27MAINTAINERS: Adjust to the new HD-audio driver pathsMAINTAINERS+5 -51 reply
27/27ALSA: hda: Return the codec init error properly at snd_hda_codec_build_controls()sound/hda/common/codec.c+6 -40 replies

Reviews trailers per patch

5 of 27 patches have a Reviewed-by or Acked-by.

PatchRichard FitzgeraldCezary RojewskiAskar Safin
1/27R-b
2/27R-b
3/27
4/27
5/27T-b
6/27R-b
7/27R-b
8/27
9/27
10/27
11/27
12/27
13/27
14/27
15/27
16/27R-b
17/27
18/27
19/27
20/27
21/27
22/27
23/27
24/27
25/27
26/27
27/27

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/27] ALSA: Reorganize HD-audio driver code

HD-audio driver is known to be quite messy in both file structures and its design, but until now I haven't touched its files paths so much because I set a higher priority for the easiness of backport to stable kernels. But, you can't leave garbages forever, it's been already high time for a large clean up -- so here it is.

The basic idea is to move the code from sound/pci/hda/* into different subdirectories in sound/hda/ per functionality, as most of the stuff are independent from PCI, but rather HD-audio bus specific.

So, now the all HD-audio driver code are moved under sound/hda:

% ls sound/hda
codecs/ common/ controllers/ core/ Kconfig Makefile

* The former hda core code is found in sound/hda/core.
* The former snd-hda-codec code is found in sound/hda/common.
* The former snd-hda-intel, tegra and acpi are put in sound/hda/controllers.
* The former patch_* and co are put to sound/hda/codecs.
* Realtek codec driver is split to several modules as sound/hda/codecs/realtek/alc*.
* Cirrus codec driver is split to cs420x and cs421x, put under sound/hda/codecs/cirrus together with cs8409.
* HDMI codec driver is split to several modules under sound/hda/codecs/hdmi
* Cirrus and TI sub-codecs are put under sound/hda/codecs/side-codecs

Also, the probe of the HD-audio codec driver is moved into the driver's ops instead of the ugly patch_ops embedded in hda_codec object. (As of now, hda_codec_driver.ops is a pointer, but it can be embedded later, too.)

This change required some code to be modified without the dynamic override of callbacks.

In future, we may convert the runtime PM handling to use the standard pm_ops, too. This was raised some time ago during the discussion with Realtek devs.

The tree applying those patches is found in topic/hda-reorg branch of sound git tree:
https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/log/?h=topic/hda-reorg

Takashi

===

Takashi Iwai (27):
ALSA: hda: Move widget capability macros into hdaudio.h
ALSA: hda: Move HD-audio core stuff into sound/hda/core
ALSA: hda: Move common codec driver into sound/hda/common directory
ALSA: hda: Move CONFIG_SND_HDA_PREALLOC_SIZE into sound/hda/common
ALSA: hda: Move controller drivers into sound/hda/controllers
directory
ALSA: hda: Move codec drivers into sound/hda/codecs directory
ALSA: hda: Split Realtek HD-audio codec driver
ALSA: hda/hdmi: Split vendor codec drivers
ALSA: hda: Introduce hda_codec_driver ops
ALSA: hda/generic: Rewrite to new probe method
ALSA: hda/realtek: Rewrite to new probe method
ALSA: hda/cmedia: Rewrite to new probe method
ALSA: hda/analog: Rewrite to new probe method
ALSA: hda/ca0110: Rewrite to new probe method
ALSA: hda/cirrus: Split to cs420x and cs421x drivers
ALSA: hda/cs8409: Rewrite to new probe method
ALSA: hda/conexant: Rewrite to new probe method
ALSA: hda/senary: Rewrite to new probe method
ALSA: hda/si3054: Rewrite to new probe method
ALSA: hda/via: Rewrite to new probe method
ALSA: hda/sigmatel: Rewrite to new probe method
ALSA: hda/ca0132: Rewrite to new probe method
ALSA: hda/hdmi: Rewrite to new probe method
ALSA: hda: Drop old codec binding method
ALSA: hda: Drop superfluous driver->ops NULL checks
MAINTAINERS: Adjust to the new HD-audio driver paths
ALSA: hda: Return the codec init error properly at
snd_hda_codec_build_controls()

 MAINTAINERS                                   |   10 +-
 include/sound/hda_codec.h                     |   40 +-
 include/sound/hdaudio.h                       |   24 +
 sound/hda/Kconfig                             |   70 +-
 sound/hda/Makefile                            |   28 +-
 sound/hda/codecs/Kconfig                      |  137 +
 sound/hda/codecs/Makefile                     |   34 +
 .../patch_analog.c => hda/codecs/analog.c}    |  223 +-
 .../patch_ca0110.c => hda/codecs/ca0110.c}    |   37 +-
 .../patch_ca0132.c => hda/codecs/ca0132.c}    |  105 +-
 sound/{pci/hda => hda/codecs}/ca0132_regs.h   |    2 +-
 sound/hda/codecs/cirrus/Kconfig               |   31 +
 sound/hda/codecs/cirrus/Makefile              |   10 +
 .../codecs/cirrus/cs420x.c}                   |  528 +-
 sound/hda/codecs/cirrus/cs421x.c              |  590 ++
 .../codecs/cirrus/cs8409-tables.c}            |    4 +-
 .../codecs/cirrus/cs8409.c}                   |   57 +-
 .../codecs/cirrus/cs8409.h}                   |    6 +-
 .../patch_cmedia.c => hda/codecs/cm9825.c}    |  140 +-
 sound/hda/codecs/cmedia.c                     |  106 +
 .../codecs/conexant.c}                        |  110 +-
 .../hda_generic.c => hda/codecs/generic.c}    |   57 +-
 .../hda_generic.h => hda/codecs/generic.h}    |    2 +-
 sound/hda/codecs/hdmi/Kconfig                 |   68 +
 sound/hda/codecs/hdmi/Makefile                |   18 +
 sound/hda/codecs/hdmi/atihdmi.c               |  615 ++
 .../hda/hda_eld.c => hda/codecs/hdmi/eld.c}   |  172 -
 sound/hda/codecs/hdmi/hdmi.c                  | 2416 +++++++
 sound/hda/codecs/hdmi/hdmi_local.h            |  302 +
 sound/hda/codecs/hdmi/intelhdmi.c             |  811 +++
 sound/hda/codecs/hdmi/nvhdmi-mcp.c            |  384 ++
 sound/hda/codecs/hdmi/nvhdmi.c                |  223 +
 sound/hda/codecs/hdmi/simplehdmi.c            |  251 +
 sound/hda/codecs/hdmi/tegrahdmi.c             |  316 +
 .../codecs/helpers/hp_x360.c}                 |    0
 .../codecs/helpers/ideapad_hotkey_led.c}      |    0
 .../codecs/helpers/ideapad_s740.c}            |    0
 .../codecs/helpers/thinkpad.c}                |    0
 sound/hda/codecs/realtek/Kconfig              |   90 +
 sound/hda/codecs/realtek/Makefile             |   26 +
 sound/hda/codecs/realtek/alc260.c             |  290 +
 sound/hda/codecs/realtek/alc262.c             |  213 +
 sound/hda/codecs/realtek/alc268.c             |  190 +
 .../codecs/realtek/alc269.c}                  | 5828 +----------------
 sound/hda/codecs/realtek/alc662.c             | 1116 ++++
 sound/hda/codecs/realtek/alc680.c             |   67 +
 sound/hda/codecs/realtek/alc861.c             |  163 +
 sound/hda/codecs/realtek/alc861vd.c           |  137 +
 sound/hda/codecs/realtek/alc880.c             |  509 ++
 sound/hda/codecs/realtek/alc882.c             |  861 +++
 sound/hda/codecs/realtek/realtek.c            | 2299 +++++++
 sound/hda/codecs/realtek/realtek.h            |  298 +
 .../codecs/senarytech.c}                      |   50 +-
 .../patch_si3054.c => hda/codecs/si3054.c}    |   53 +-
 sound/hda/codecs/side-codecs/Kconfig          |  128 +
 sound/hda/codecs/side-codecs/Makefile         |   28 +
 .../codecs/side-codecs}/cirrus_scodec.c       |    0
 .../codecs/side-codecs}/cirrus_scodec.h       |    0
 .../codecs/side-codecs}/cirrus_scodec_test.c  |    0
 .../codecs/side-codecs}/cs35l41_hda.c         |    2 +-
 .../codecs/side-codecs}/cs35l41_hda.h         |    0
 .../codecs/side-codecs}/cs35l41_hda_i2c.c     |    0
 .../side-codecs}/cs35l41_hda_property.c       |    0
 .../side-codecs}/cs35l41_hda_property.h       |    0
 .../codecs/side-codecs}/cs35l41_hda_spi.c     |    0
 .../codecs/side-codecs}/cs35l56_hda.c         |    2 +-
 .../codecs/side-codecs}/cs35l56_hda.h         |    0
 .../codecs/side-codecs}/cs35l56_hda_i2c.c     |    0
 .../codecs/side-codecs}/cs35l56_hda_spi.c     |    0
 .../codecs/side-codecs}/hda_component.c       |    0
 .../codecs/side-codecs}/hda_component.h       |    0
 .../codecs/side-codecs}/tas2781_hda.c         |    0
 .../codecs/side-codecs}/tas2781_hda.h         |    0
 .../codecs/side-codecs}/tas2781_hda_i2c.c     |    2 +-
 .../codecs/side-codecs}/tas2781_hda_spi.c     |    2 +-
 .../codecs/sigmatel.c}                        |  402 +-
 .../{pci/hda/patch_via.c => hda/codecs/via.c} |  447 +-
 sound/hda/common/Kconfig                      |   97 +
 sound/hda/common/Makefile                     |   13 +
 .../common/auto_parser.c}                     |    0
 .../{pci/hda/hda_beep.c => hda/common/beep.c} |    0
 .../{pci/hda/hda_bind.c => hda/common/bind.c} |   29 +-
 .../hda/hda_codec.c => hda/common/codec.c}    |   57 +-
 .../common/controller.c}                      |    2 +-
 .../common/controller_trace.h}                |    2 +-
 .../{pci/hda => hda/common}/hda_auto_parser.h |    0
 sound/{pci/hda => hda/common}/hda_beep.h      |    0
 .../{pci/hda => hda/common}/hda_controller.h  |    0
 sound/{pci/hda => hda/common}/hda_jack.h      |    0
 sound/{pci/hda => hda/common}/hda_local.h     |   13 +-
 .../hda/hda_hwdep.c => hda/common/hwdep.c}    |    0
 .../{pci/hda/hda_jack.c => hda/common/jack.c} |    0
 .../{pci/hda/hda_proc.c => hda/common/proc.c} |    0
 .../hda/hda_sysfs.c => hda/common/sysfs.c}    |    0
 sound/hda/controllers/Kconfig                 |   42 +
 sound/hda/controllers/Makefile                |   13 +
 .../hda/hda_acpi.c => hda/controllers/acpi.c} |    0
 .../hda_intel.c => hda/controllers/intel.c}   |    5 +-
 .../hda_intel.h => hda/controllers/intel.h}   |    0
 .../controllers/intel_trace.h}                |    2 +-
 .../hda_tegra.c => hda/controllers/tegra.c}   |    0
 sound/hda/core/Kconfig                        |   51 +
 sound/hda/core/Makefile                       |   22 +
 sound/hda/{ => core}/array.c                  |    0
 sound/hda/{hdac_bus.c => core/bus.c}          |    0
 .../{hdac_component.c => core/component.c}    |    0
 .../{hdac_controller.c => core/controller.c}  |    0
 sound/hda/{hdac_device.c => core/device.c}    |    8 +-
 sound/hda/{ => core}/ext/Makefile             |    2 +-
 .../{ext/hdac_ext_bus.c => core/ext/bus.c}    |    0
 .../ext/controller.c}                         |    0
 .../hdac_ext_stream.c => core/ext/stream.c}   |    0
 sound/hda/{ => core}/hda_bus_type.c           |    0
 sound/hda/{ => core}/hdmi_chmap.c             |    0
 sound/hda/{hdac_i915.c => core/i915.c}        |    0
 sound/hda/{ => core}/intel-dsp-config.c       |    0
 sound/hda/{ => core}/intel-nhlt.c             |    0
 sound/hda/{ => core}/intel-sdw-acpi.c         |    0
 sound/hda/{ => core}/local.h                  |   21 -
 sound/hda/{hdac_regmap.c => core/regmap.c}    |    0
 sound/hda/{hdac_stream.c => core/stream.c}    |    0
 sound/hda/{hdac_sysfs.c => core/sysfs.c}      |   14 +-
 sound/hda/{ => core}/trace.c                  |    0
 sound/hda/{ => core}/trace.h                  |    0
 sound/pci/Kconfig                             |    2 -
 sound/pci/Makefile                            |    1 -
 sound/pci/hda/Kconfig                         |  436 --
 sound/pci/hda/Makefile                        |   84 -
 sound/pci/hda/patch_hdmi.c                    | 4695 -------------
 sound/soc/codecs/hda.c                        |   17 +-
 sound/soc/codecs/hdac_hda.c                   |   29 +-
 sound/soc/codecs/hdac_hdmi.c                  |   21 +-
 132 files changed, 14057 insertions(+), 12751 deletions(-)
 create mode 100644 sound/hda/codecs/Kconfig
 create mode 100644 sound/hda/codecs/Makefile
 rename sound/{pci/hda/patch_analog.c => hda/codecs/analog.c} (90%)
 rename sound/{pci/hda/patch_ca0110.c => hda/codecs/ca0110.c} (75%)
 rename sound/{pci/hda/patch_ca0132.c => hda/codecs/ca0132.c} (99%)
 rename sound/{pci/hda => hda/codecs}/ca0132_regs.h (99%)
 create mode 100644 sound/hda/codecs/cirrus/Kconfig
 create mode 100644 sound/hda/codecs/cirrus/Makefile
 rename sound/{pci/hda/patch_cirrus.c => hda/codecs/cirrus/cs420x.c} (61%)
 create mode 100644 sound/hda/codecs/cirrus/cs421x.c
 rename sound/{pci/hda/patch_cs8409-tables.c => hda/codecs/cirrus/cs8409-tables.c} (99%)
 rename sound/{pci/hda/patch_cs8409.c => hda/codecs/cirrus/cs8409.c} (98%)
 rename sound/{pci/hda/patch_cs8409.h => hda/codecs/cirrus/cs8409.h} (98%)
 rename sound/{pci/hda/patch_cmedia.c => hda/codecs/cm9825.c} (73%)
 create mode 100644 sound/hda/codecs/cmedia.c
 rename sound/{pci/hda/patch_conexant.c => hda/codecs/conexant.c} (93%)
 rename sound/{pci/hda/hda_generic.c => hda/codecs/generic.c} (99%)
 rename sound/{pci/hda/hda_generic.h => hda/codecs/generic.h} (99%)
 create mode 100644 sound/hda/codecs/hdmi/Kconfig
 create mode 100644 sound/hda/codecs/hdmi/Makefile
 create mode 100644 sound/hda/codecs/hdmi/atihdmi.c
 rename sound/{pci/hda/hda_eld.c => hda/codecs/hdmi/eld.c} (51%)
 create mode 100644 sound/hda/codecs/hdmi/hdmi.c
 create mode 100644 sound/hda/codecs/hdmi/hdmi_local.h
 create mode 100644 sound/hda/codecs/hdmi/intelhdmi.c
 create mode 100644 sound/hda/codecs/hdmi/nvhdmi-mcp.c
 create mode 100644 sound/hda/codecs/hdmi/nvhdmi.c
 create mode 100644 sound/hda/codecs/hdmi/simplehdmi.c
 create mode 100644 sound/hda/codecs/hdmi/tegrahdmi.c
 rename sound/{pci/hda/hp_x360_helper.c => hda/codecs/helpers/hp_x360.c} (100%)
 rename sound/{pci/hda/ideapad_hotkey_led_helper.c => hda/codecs/helpers/ideapad_hotkey_led.c} (100%)
 rename sound/{pci/hda/ideapad_s740_helper.c => hda/codecs/helpers/ideapad_s740.c} (100%)
 rename sound/{pci/hda/thinkpad_helper.c => hda/codecs/helpers/thinkpad.c} (100%)
 create mode 100644 sound/hda/codecs/realtek/Kconfig
 create mode 100644 sound/hda/codecs/realtek/Makefile
 create mode 100644 sound/hda/codecs/realtek/alc260.c
 create mode 100644 sound/hda/codecs/realtek/alc262.c
 create mode 100644 sound/hda/codecs/realtek/alc268.c
 rename sound/{pci/hda/patch_realtek.c => hda/codecs/realtek/alc269.c} (63%)
 create mode 100644 sound/hda/codecs/realtek/alc662.c
 create mode 100644 sound/hda/codecs/realtek/alc680.c
 create mode 100644 sound/hda/codecs/realtek/alc861.c
 create mode 100644 sound/hda/codecs/realtek/alc861vd.c
 create mode 100644 sound/hda/codecs/realtek/alc880.c
 create mode 100644 sound/hda/codecs/realtek/alc882.c
 create mode 100644 sound/hda/codecs/realtek/realtek.c
 create mode 100644 sound/hda/codecs/realtek/realtek.h
 rename sound/{pci/hda/patch_senarytech.c => hda/codecs/senarytech.c} (87%)
 rename sound/{pci/hda/patch_si3054.c => hda/codecs/si3054.c} (88%)
 create mode 100644 sound/hda/codecs/side-codecs/Kconfig
 create mode 100644 sound/hda/codecs/side-codecs/Makefile
 rename sound/{pci/hda => hda/codecs/side-codecs}/cirrus_scodec.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cirrus_scodec.h (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cirrus_scodec_test.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l41_hda.c (99%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l41_hda.h (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l41_hda_i2c.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l41_hda_property.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l41_hda_property.h (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l41_hda_spi.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l56_hda.c (99%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l56_hda.h (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l56_hda_i2c.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/cs35l56_hda_spi.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/hda_component.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/hda_component.h (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/tas2781_hda.c (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/tas2781_hda.h (100%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/tas2781_hda_i2c.c (99%)
 rename sound/{pci/hda => hda/codecs/side-codecs}/tas2781_hda_spi.c (99%)
 rename sound/{pci/hda/patch_sigmatel.c => hda/codecs/sigmatel.c} (94%)
 rename sound/{pci/hda/patch_via.c => hda/codecs/via.c} (78%)
 create mode 100644 sound/hda/common/Kconfig
 create mode 100644 sound/hda/common/Makefile
 rename sound/{pci/hda/hda_auto_parser.c => hda/common/auto_parser.c} (100%)
 rename sound/{pci/hda/hda_beep.c => hda/common/beep.c} (100%)
 rename sound/{pci/hda/hda_bind.c => hda/common/bind.c} (93%)
 rename sound/{pci/hda/hda_codec.c => hda/common/codec.c} (98%)
 rename sound/{pci/hda/hda_controller.c => hda/common/controller.c} (99%)
 rename sound/{pci/hda/hda_controller_trace.h => hda/common/controller_trace.h} (97%)
 rename sound/{pci/hda => hda/common}/hda_auto_parser.h (100%)
 rename sound/{pci/hda => hda/common}/hda_beep.h (100%)
 rename sound/{pci/hda => hda/common}/hda_controller.h (100%)
 rename sound/{pci/hda => hda/common}/hda_jack.h (100%)
 rename sound/{pci/hda => hda/common}/hda_local.h (99%)
 rename sound/{pci/hda/hda_hwdep.c => hda/common/hwdep.c} (100%)
 rename sound/{pci/hda/hda_jack.c => hda/common/jack.c} (100%)
 rename sound/{pci/hda/hda_proc.c => hda/common/proc.c} (100%)
 rename sound/{pci/hda/hda_sysfs.c => hda/common/sysfs.c} (100%)
 create mode 100644 sound/hda/controllers/Kconfig
 create mode 100644 sound/hda/controllers/Makefile
 rename sound/{pci/hda/hda_acpi.c => hda/controllers/acpi.c} (100%)
 rename sound/{pci/hda/hda_intel.c => hda/controllers/intel.c} (99%)
 rename sound/{pci/hda/hda_intel.h => hda/controllers/intel.h} (100%)
 rename sound/{pci/hda/hda_intel_trace.h => hda/controllers/intel_trace.h} (95%)
 rename sound/{pci/hda/hda_tegra.c => hda/controllers/tegra.c} (100%)
 create mode 100644 sound/hda/core/Kconfig
 create mode 100644 sound/hda/core/Makefile
 rename sound/hda/{ => core}/array.c (100%)
 rename sound/hda/{hdac_bus.c => core/bus.c} (100%)
 rename sound/hda/{hdac_component.c => core/component.c} (100%)
 rename sound/hda/{hdac_controller.c => core/controller.c} (100%)
 rename sound/hda/{hdac_device.c => core/device.c} (99%)
 rename sound/hda/{ => core}/ext/Makefile (54%)
 rename sound/hda/{ext/hdac_ext_bus.c => core/ext/bus.c} (100%)
 rename sound/hda/{ext/hdac_ext_controller.c => core/ext/controller.c} (100%)
 rename sound/hda/{ext/hdac_ext_stream.c => core/ext/stream.c} (100%)
 rename sound/hda/{ => core}/hda_bus_type.c (100%)
 rename sound/hda/{ => core}/hdmi_chmap.c (100%)
 rename sound/hda/{hdac_i915.c => core/i915.c} (100%)
 rename sound/hda/{ => core}/intel-dsp-config.c (100%)
 rename sound/hda/{ => core}/intel-nhlt.c (100%)
 rename sound/hda/{ => core}/intel-sdw-acpi.c (100%)
 rename sound/hda/{ => core}/local.h (66%)
 rename sound/hda/{hdac_regmap.c => core/regmap.c} (100%)
 rename sound/hda/{hdac_stream.c => core/stream.c} (100%)
 rename sound/hda/{hdac_sysfs.c => core/sysfs.c} (95%)
 rename sound/hda/{ => core}/trace.c (100%)
 rename sound/hda/{ => core}/trace.h (100%)
 delete mode 100644 sound/pci/hda/Kconfig
 delete mode 100644 sound/pci/hda/Makefile
 delete mode 100644 sound/pci/hda/patch_hdmi.c
Signature · 1 line
2.50.0