diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-08-21 15:47:43 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-21 12:34:50 +0200 |
commit | 18dfd79d92e5292611ac4944a67bd837dd7632c9 (patch) | |
tree | c267a5d259dd31483d4e32ed004483aa506f3b42 /include | |
parent | d51783c15f7548229e49331d254a738be8ac865c (diff) | |
download | op-kernel-dev-18dfd79d92e5292611ac4944a67bd837dd7632c9.zip op-kernel-dev-18dfd79d92e5292611ac4944a67bd837dd7632c9.tar.gz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/hdaudio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h index 288c7fa..23a44c3 100644 --- a/include/sound/hdaudio.h +++ b/include/sound/hdaudio.h @@ -119,6 +119,7 @@ int snd_hdac_device_register(struct hdac_device *codec); void snd_hdac_device_unregister(struct hdac_device *codec); int snd_hdac_refresh_widgets(struct hdac_device *codec); +int snd_hdac_refresh_widget_sysfs(struct hdac_device *codec); unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, unsigned int verb, unsigned int parm); |