-
- Downloads
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>
Showing
- include/sound/hdaudio.h 42 additions, 0 deletionsinclude/sound/hdaudio.h
- sound/Kconfig 2 additions, 0 deletionssound/Kconfig
- sound/Makefile 1 addition, 1 deletionsound/Makefile
- sound/hda/Kconfig 2 additions, 0 deletionssound/hda/Kconfig
- sound/hda/Makefile 3 additions, 0 deletionssound/hda/Makefile
- sound/hda/hda_bus_type.c 42 additions, 0 deletionssound/hda/hda_bus_type.c
- sound/pci/hda/Kconfig 1 addition, 0 deletionssound/pci/hda/Kconfig
- sound/pci/hda/hda_bind.c 14 additions, 33 deletionssound/pci/hda/hda_bind.c
- sound/pci/hda/hda_codec.c 1 addition, 0 deletionssound/pci/hda/hda_codec.c
- sound/pci/hda/hda_codec.h 5 additions, 6 deletionssound/pci/hda/hda_codec.h
Loading
Please register or sign in to comment