]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: hda - Support rereading widgets under the function group
authorMengdong Lin <mengdong.lin@intel.com>
Fri, 8 Feb 2013 22:09:31 +0000 (17:09 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Feb 2013 11:22:50 +0000 (12:22 +0100)
commita15d05db41b1d5c9f2c3af11dfbfd46818cc64ba
tree48e0ba894d7f59b8ff0b8014e6ca566c12b93043
parent4eea30914facd2c99061cd70e5b05d3c76c743a2
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>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h