[alsa-devel] [PATCH 0/3] ALSA: hda: bus cleanup

Takashi Iwai tiwai at suse.de
Thu Aug 8 11:57:12 CEST 2019


Hi,

this is a few patches to simplify and cleanup the HD-audio bus ops.

The first two patches translate the indirect calls of DMA page
allocation and MMIO accesses with the direct ones, as well as
eliminating the whole bus->io_ops.

The last one is SOF-specific, and fixes/cleans up by calling the
proper hdaudio bus init function, as formerly discussed.


Takashi

===

Takashi Iwai (3):
  ALSA: hda: Remove page allocation redirection
  ALSA: hda: Direct MMIO accesses
  ASoC: SOF: Intel: Initialize hdaudio bus properly

 include/sound/hdaudio.h                | 69 +++++++++++++--------------
 include/sound/hdaudio_ext.h            |  1 -
 sound/hda/Kconfig                      |  3 ++
 sound/hda/ext/hdac_ext_bus.c           | 60 +-----------------------
 sound/hda/hdac_bus.c                   | 36 ++++++++++++--
 sound/hda/hdac_controller.c            | 18 +++----
 sound/hda/hdac_stream.c                |  8 ++--
 sound/pci/hda/Kconfig                  |  1 +
 sound/pci/hda/hda_controller.c         |  6 +--
 sound/pci/hda/hda_controller.h         |  3 +-
 sound/pci/hda/hda_intel.c              | 71 ++--------------------------
 sound/pci/hda/hda_tegra.c              | 84 +--------------------------------
 sound/soc/intel/skylake/skl-messages.c | 15 +-----
 sound/soc/intel/skylake/skl.c          |  7 ++-
 sound/soc/sof/intel/hda-bus.c          | 85 ++++------------------------------
 sound/soc/sof/intel/hda-dsp.c          |  2 +-
 sound/soc/sof/intel/hda.c              |  6 +--
 sound/soc/sof/intel/hda.h              |  3 +-
 18 files changed, 107 insertions(+), 371 deletions(-)

-- 
2.16.4



More information about the Alsa-devel mailing list