]> Pileus Git - ~andy/linux/commit
[ALSA] hda: ALC260 test model implementation
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>
Thu, 9 Feb 2006 11:01:26 +0000 (12:01 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:28:50 +0000 (10:28 +0100)
commit7cf51e48315d87b4c1cf600d611894f45f661142
tree1c3d85f27af4d79ad146f7cbcc21aaae1057a766
parent8b33a5aa08c4e462360d812386dcecc0467efd7b
[ALSA] hda: ALC260 test model implementation

Modules: HDA Codec driver

The following patch adds a 'test' ALC260 model specification to the
patch_realtek.c driver if CONFIG_SND_DEBUG is set.  This is similar to the
'test' ALC880 model in that it sets up mixer controls for almost everything
to make it easier for people to test their laptop/soundcard when working out
what pin widgets are connected to which real-world devices.

This patch assumes my previous patch (adding the second PCM to the ALC260)
has previously been applied since it uses infrastructure added by that
patch.

In developing this patch it was found that not all retasking pins accept all
the modes - in particular, some ignore the VREFxx variants.  The pin mode
control has therefore been tweaked to prevent this becoming a problem in
mixer applications.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c