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)
commit648a8d276ed10062addd4a4e18aaf9ff84f14543
tree5f0dcf8587dfb6123b51fe379e8aaf8812368ef2
parent13aeaf68019d297be79c99f828c2a9d6affef06b
ALSA: hda - Add sysfs to codec object, too

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]