linux-kernel-test/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
beep.c [ALSA] ppc-beep - handle errors from input_register_device() 2006-09-23 10:39:55 +02:00
burgundy.c [ALSA] Remove xxx_t typedefs: PowerMac 2006-01-03 12:20:00 +01:00
burgundy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
daca.c [ALSA] Conversions from kmalloc+memset to k(z|c)alloc 2006-08-03 15:21:18 +02:00
Kconfig [ALSA] powermac - Use platform_device 2006-01-03 12:28:44 +01:00
keywest.c [ALSA] Conversions from kmalloc+memset to k(z|c)alloc 2006-08-03 15:21:18 +02:00
Makefile [ALSA] snd-powermac: no longer handle anything with a layout-id property 2006-06-22 21:34:39 +02:00
pmac.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
pmac.h [ALSA] snd-powermac: no longer handle anything with a layout-id property 2006-06-22 21:34:39 +02:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tumbler.c [ALSA] [PPC,SOUND] Fix audio gpio state detection 2006-09-23 10:45:33 +02:00