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)
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

Simple merge
Simple merge