linux/Documentation/sound/alsa
Nicolas Boichat 536319afd1 ALSA: Allow to force model to intel-mac-v3 in snd_hda_intel (sigmatel).
Currently, even if you pass model=intel-mac-v3 as a module parameter to
snd_hda_intel, the function patch_stac922x (patch_sigmatel.c) will still
try to auto-detect the model type. This is a problem on my MacBook Pro 1st
generation, which needs intel-mac-v3, but sometimes incorrectly reports
0x00000100 as subsystem id, which causes the switch in patch_stac922x to
select intel-mac-v4.

To fix this, I added a new model called intel-mac-auto, so in case no
module parameter is passed, and an Intel Mac board is detected, the
model will be automatically detected, while no detection will be done
if the model is forced to intel-mac-v3.

This problem has been around for quite a while, and I used to fix it
by moving the case statement for 0x00000100 in patch_stac922x so that
intel-mac-v3 is chosen.

Another way to fix the problem would be to check if a module parameter
was set directly in patch_stac922x, using something like this:
if (spec->board_config == STAC_INTEL_MAC_V3 &&
	!codec->bus->modelname) {

But I think it is less elegant (if you prefer that way, I can prepare a
patch).

Signed-off-by: Nicolas Boichat <nicolas@boichat.ch>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-07-27 10:22:27 +02:00
..
DocBook [ALSA] Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE 2008-05-27 15:56:21 +02:00
soc [ALSA] ASoC documentation updates 2008-01-31 17:30:10 +01:00
ALSA-Configuration.txt ALSA: Allow to force model to intel-mac-v3 in snd_hda_intel (sigmatel). 2008-07-27 10:22:27 +02:00
Audigy-mixer.txt Fix typos in /Documentation : 'U-Z' 2006-11-30 04:58:40 +01:00
Audiophile-Usb.txt [ALSA] usb-audio - Fix AC3 with M-Audio Audiophile USB 2007-07-20 11:11:52 +02:00
Bt87x.txt [ALSA] Fix alsa-devel ML address 2007-05-11 16:55:52 +02:00
CMIPCI.txt [ALSA] cmipci: do not check for integrated FM/MIDI ports with chip version 37 2007-10-16 15:59:44 +02:00
ControlNames.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emu10k1-jack.txt [ALSA] some docs for the new emu10k1 multichannel functionality 2005-05-29 09:00:44 +02:00
hda_codec.txt [ALSA] hda-codec - update of documentation 2007-10-16 15:58:47 +02:00
hdspm.txt [ALSA] Add documentation for HDSP MADI 2005-06-22 12:28:15 +02:00
Joystick.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
MIXART.txt Fix typos in Documentation/: 'S' 2006-10-03 22:55:17 +02:00
OSS-Emulation.txt [ALSA] Fix OSS documentation about 3bytes format 2007-10-16 15:58:32 +02:00
powersave.txt [ALSA] Add description about power-saving mode 2007-10-16 16:50:52 +02:00
Procfile.txt Fix typos in Documentation/: 'S' 2006-10-03 22:55:17 +02:00
SB-Live-mixer.txt Fix typos in /Documentation : 'U-Z' 2006-11-30 04:58:40 +01:00
seq_oss.html Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
serial-u16550.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
VIA82xx-mixer.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00