]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Make snd_hda_bus_type public
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2015 20:46:37 +0000 (21:46 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2015 12:15:51 +0000 (13:15 +0100)
commita99f12869bff76afe0d84cca1847df000b1374f9
treecc89c4b22054d620163f0d6bdad901f43957dbf5
parentae27274124e08717f0a9e5bdc1cfb43ba74a8ffa
ALSA: hda - Make snd_hda_bus_type public

Define the common hd-audio driver and device types to bind over
snd_hda_bus_type publicly.  This allows to implement other type of
device and driver code over hd-audio bus.

Now both struct hda_codec and struct hda_codec_driver inherit these
new struct hdac_device and struct hdac_driver, respectively.

The bus registration is done in subsys_initcall() to assure it
before any other driver registrations.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h [new file with mode: 0644]
sound/Kconfig
sound/Makefile
sound/hda/Kconfig [new file with mode: 0644]
sound/hda/Makefile [new file with mode: 0644]
sound/hda/hda_bus_type.c [new file with mode: 0644]
sound/pci/hda/Kconfig
sound/pci/hda/hda_bind.c
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h