]> git.baikalelectronics.ru Git - kernel.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)
commitc81a8b88f8b54884f1d4e5af4730f1d25cbd6308
tree48e0ba894d7f59b8ff0b8014e6ca566c12b93043
parent624e9b5482337be4828fa36d4baf3607330571f3
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