]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa0bab5713ef11ba3de9d1bdbfa17896c6a25736
treec267a5d259dd31483d4e32ed004483aa506f3b42
parente80c441e10d887e514ca18ca2a7b3919a23f3609
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