]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ac97: Implement channel map workaround for ALC650
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Aug 2012 15:59:36 +0000 (17:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Sep 2012 16:08:30 +0000 (18:08 +0200)
commitab3b00bda86a3796f4f6900be7583b24e9932969
tree785dd0a6ad97fc13a100e409c8fd21e07872f64d
parent204ee86682f7fb80a63177fc12c2de81215f462b
ALSA: ac97: Implement channel map workaround for ALC650

ALC650 has a channel swap option between surround and CLFE channels,
so we need to tweak the channel maps dynamically depending on the
register bit.

Now struct snd_ac97 can contain chmap pointers for playback and
capture.  The driver may store these and let ac97 driver changing the
channel mapping dynamically.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ac97_codec.h
sound/pci/ac97/ac97_patch.c