ALSA: hda - Enable sysfs attributes without CONFIG_SND_HDA_RECONFIG
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2014 10:54:06 +0000 (11:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2014 11:12:55 +0000 (12:12 +0100)
commitb989d0444bd4999f9130d262b5ab7123d4077df8
treedafd46414928b381e5bdd1ff5803872d9df25488
parent648a8d276ed10062addd4a4e18aaf9ff84f14543
ALSA: hda - Enable sysfs attributes without CONFIG_SND_HDA_RECONFIG

Some sysfs attributes like init_pin_configs or vendor_name are really
basic and should be available no matter whether the codec driver is
re-configurable or not.  Put them out of #ifdef
CONFIG_SND_HDA_RECONFIG and allow the read-only accesses.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_sysfs.c