ALSA: hdac: add snd_hdac_refresh_widget_sysfs()
authorVinod Koul <vinod.koul@intel.com>
Fri, 21 Aug 2015 10:17:43 +0000 (15:47 +0530)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Aug 2015 10:34:50 +0000 (12:34 +0200)
commit18dfd79d92e5292611ac4944a67bd837dd7632c9
treec267a5d259dd31483d4e32ed004483aa506f3b42
parentd51783c15f7548229e49331d254a738be8ac865c
ALSA: hdac: add snd_hdac_refresh_widget_sysfs()

Some codecs like Intel HDMI by default do not show up all the pins, they
have to be manually enabled, so we need to refresh the codec widgets and
then recreate the sysfs tree. So add new API snd_hdac_refresh_widget_sysfs()
to do this. It should be be used by codec driver after sending magic verbs
to codec

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/hda/hdac_device.c