ALSA: hda - Add sysfs to codec object, too
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2014 09:38:13 +0000 (10:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2014 11:12:54 +0000 (12:12 +0100)
We have currently sysfs attributes for each hwdep, but basically these
should belong to the codec itself, per se.  Let's add them to the
codec object while keeping them for hwdep as is for compatibility.

While we are at it, split the sysfs-related stuff into a separate
source file, hda_sysfs.c, and keep only the stuff necessary for hwdep
in hda_hwdep.c.

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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge