]> 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)
commiteb29b55a79319e4ccd56350d0afe1ffffed0ab78
tree785dd0a6ad97fc13a100e409c8fd21e07872f64d
parent69fd8bb0fa51a57962055179e98fef07ad021625
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