diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2013-02-08 17:09:31 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-02-08 12:22:50 +0100 |
commit | a15d05db41b1d5c9f2c3af11dfbfd46818cc64ba (patch) | |
tree | 48e0ba894d7f59b8ff0b8014e6ca566c12b93043 /sound/pci/hda/hda_codec.h | |
parent | 4eea30914facd2c99061cd70e5b05d3c76c743a2 (diff) | |
download | linux-a15d05db41b1d5c9f2c3af11dfbfd46818cc64ba.tar.gz linux-a15d05db41b1d5c9f2c3af11dfbfd46818cc64ba.tar.bz2 linux-a15d05db41b1d5c9f2c3af11dfbfd46818cc64ba.zip |
ALSA: hda - Support rereading widgets under the function group
A codec may allow software to hide some unused pin/cvt widgets.
Sometimes BIOS does not enable the hidden widgets properly although they are
needed for the board. Thus the driver need to enable them as a board-specific
fixup and the whole tree will change.
This patch implements a common code for rereading codec widgets. So the fixup
code can call it after enabling the hidden widgets.
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 0be18263801b..e8c9442d27ad 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -935,6 +935,7 @@ int snd_hda_bus_new(struct snd_card *card, const struct hda_bus_template *temp, int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr, struct hda_codec **codecp); int snd_hda_codec_configure(struct hda_codec *codec); +int snd_hda_codec_update_widgets(struct hda_codec *codec); /* * low level functions |