kernel-ark/sound/ppc
Andreas Schwab 2fd53a7e9b [ALSA] [PPC,SOUND] Fix audio gpio state detection
When booting with line out or headphone plugged, you won't hear anything.
The problem is that after reset all channels are muted, but the actual
value of the gpio port doesn't exactly match the active_val settings as
expected by check_audio_gpio.  For example, the line_mute port is set to
7, but check_audio_gpio would expect 0xd or 0xf, thus its return value
indicates that it is not active, even though it is.  AFAICS only looking
at the low bit is enough to determine whether the port is active.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-09-23 10:45:33 +02:00
..
awacs.c [ALSA] Conversions from kmalloc+memset to k(z|c)alloc 2006-08-03 15:21:18 +02:00
awacs.h
beep.c [ALSA] ppc-beep - handle errors from input_register_device() 2006-09-23 10:39:55 +02:00
burgundy.c
burgundy.h
daca.c [ALSA] Conversions from kmalloc+memset to k(z|c)alloc 2006-08-03 15:21:18 +02:00
Kconfig
keywest.c [ALSA] Conversions from kmalloc+memset to k(z|c)alloc 2006-08-03 15:21:18 +02:00
Makefile
pmac.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
pmac.h
powermac.c [ALSA] make snd-powermac load even when it can't bind the device 2006-08-03 15:21:24 +02:00
tumbler_volume.h
tumbler.c [ALSA] [PPC,SOUND] Fix audio gpio state detection 2006-09-23 10:45:33 +02:00