[alsa-devel] [PATCH 0/7] HD-audio regmap support

Takashi Iwai tiwai at suse.de
Fri Feb 27 22:28:15 CET 2015


Hi,

this patch adds the regmap support to HD-audio and convert the
house-made amp/verb caches to regmap.  Because of the asymmetrical
nature of HD-audio verbs, the adaption of regmap isn't straightforward
at all, and has many limitations.  But this still reduces the
complexity in struct hda_codec a bit.

The patches are applied on top of the previous patch series (found in
topic/hda-bus branch of sound git tree).  This patchset is also found
in sound git tree topic/hda-regmap branch.


Takashi

===

Takashi Iwai (7):
  ALSA: hda - Add regmap support
  ALSA: hda - Use regmap for codec parameter reads
  ALSA: hda - Use regmap for amp accesses
  ALSA: hda - Use regmap for parameter caches, too
  ALSA: hda - Allow driver to add vendor-specific verbs for regmap
  ALSA: hda - Use regmap for command verb caches, too
  ALSA: hda - Reduce verbs during generic parser initialization

 sound/pci/hda/Kconfig          |   1 +
 sound/pci/hda/Makefile         |   3 +-
 sound/pci/hda/hda_beep.c       |   3 +-
 sound/pci/hda/hda_bind.c       |   6 +
 sound/pci/hda/hda_codec.c      | 645 +++++++----------------------------------
 sound/pci/hda/hda_codec.h      |  45 +--
 sound/pci/hda/hda_generic.c    |  32 +-
 sound/pci/hda/hda_jack.c       |   6 +-
 sound/pci/hda/hda_local.h      |  31 +-
 sound/pci/hda/hda_regmap.c     | 409 ++++++++++++++++++++++++++
 sound/pci/hda/hda_regmap.h     |  38 +++
 sound/pci/hda/patch_analog.c   |  30 +-
 sound/pci/hda/patch_conexant.c |  12 +-
 sound/pci/hda/patch_hdmi.c     |  24 +-
 sound/pci/hda/patch_realtek.c  |  11 +-
 sound/pci/hda/patch_si3054.c   |   5 +-
 sound/pci/hda/patch_sigmatel.c |  38 ++-
 17 files changed, 660 insertions(+), 679 deletions(-)
 create mode 100644 sound/pci/hda/hda_regmap.c
 create mode 100644 sound/pci/hda/hda_regmap.h

-- 
2.3.0



More information about the Alsa-devel mailing list