]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: HDA VIA: Rewrite via_independent_hp_put
authorLydia Wang <lydiawang@viatech.com.cn>
Sat, 10 Oct 2009 11:07:47 +0000 (19:07 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 Oct 2009 15:56:42 +0000 (17:56 +0200)
commitcd4db5fbd30b5152c20014f62ff12e409f0a1a3b
tree8cbcc339c174cb0ee1776e2aff45c1fedcfd522d
parent6ca02e9328881b5fe393669b24f74ed5b5341729
ALSA: HDA VIA: Rewrite via_independent_hp_put

Use hp_independent_mode_index to store hp index, and simplify function
via_independent_hp_put with it.

Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: Logan Li <loganli@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c