]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add the controller helper codes to hda-core module
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2015 10:15:47 +0000 (12:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2015 05:27:58 +0000 (07:27 +0200)
commit411eec7a1107aef4b7cbb762b1e925807a62832d
treea66845e59854c2a01b107695b69ebf05e692776c
parentf0d81b55ae347baa7763f7a1346c15eab547da1e
ALSA: hda - Add the controller helper codes to hda-core module

This patch adds the controller helper codes to hda-core library.
The I/O access ops are added to the bus ops.  The CORB/RIRB, the basic
attributes like irq# and iomap address, some locks and the list of
streams are added to the bus object, together with the stream object
and its helpers.

Currently the codes are just copied from the legacy driver, so you can
find duplicated codes in both directories.  Only constants are removed
from the original hda_controller.h.  More integration work will follow
in the later patches.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hda_register.h [new file with mode: 0644]
include/sound/hdaudio.h
sound/hda/Makefile
sound/hda/hdac_bus.c
sound/hda/hdac_controller.c [new file with mode: 0644]
sound/hda/hdac_stream.c [new file with mode: 0644]
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_controller.h