]> 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)
commit75b3f3da499d08a5e21e5a8e63f13c2136dce4f3
treea66845e59854c2a01b107695b69ebf05e692776c
parentd0ae456edd429c195e7cebb2914227d5ba2dc421
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