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)
commit833a493b7ed2eb8f9059338a0ebf06bebbb6ae93
tree785dd0a6ad97fc13a100e409c8fd21e07872f64d
parent53775b0d0cb91ab217c9853efddc51597b58bbff
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