linux/sound
Christoph Schulz 375389288a [ALSA] cs4236-irq-handling-fix.patch
CS4236+ driver
Background: The card/chipset supports an external MIDI interrupt.  By
default, this interrupt isn't used (because the isapnp mechanism chooses a
configuration without an assigned interrupt).  If the user wishes to
explicitly select an interrupt via the mpu_irq parameter for such a
configured device, it doesn't work: The driver always shows:

isapnp MPU: port=0x330, irq=-1

(note the 'irq=-1')

Problem: The driver only allows to set the irq if pnp_irq_valid returns
true for this particular pnp device.  This, however, is only true if an
interrupt has already been assigned (pnp_valid_irq returns true if the flag
IORESOURCE_IRQ is set and IORESOURCE_UNSET is not set).  If no interrupt
has been assigned so far, IORESOURCE_UNSET is set and pnp_irq_valid returns
false, thereby inhibiting the selection of a valid irq.

Solution: Don't check for a valid (= already assigned) irq at the point of
calling pnp_resource_change.

Tested successfully on Linux 2.6.11.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2005-06-22 12:28:06 +02:00
..
arm [ALSA] ARM AACI primecell driver 2005-05-29 10:06:52 +02:00
core [ALSA] OSS PCM emulation - The 2nd final fix for SNDCTL_DSP_GETOPTR problem 2005-06-22 12:28:03 +02:00
drivers [ALSA] Remove redundant NULL checks before kfree 2005-06-22 12:27:43 +02:00
i2c [ALSA] Remove redundant NULL checks before kfree 2005-06-22 12:27:43 +02:00
isa [ALSA] cs4236-irq-handling-fix.patch 2005-06-22 12:28:06 +02:00
mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oss [PATCH] rme96xx: fix PageReserved range 2005-06-21 18:46:20 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [ALSA] Add FSC T3010 quirk 2005-06-22 12:27:59 +02:00
pcmcia [ALSA] Remove redundant NULL checks before kfree 2005-06-22 12:27:43 +02:00
ppc [ALSA] ppc32: Fix Alsa PowerMac driver on old machines 2005-05-29 10:11:14 +02:00
sparc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
synth [ALSA] Remove redundant NULL checks before kfree 2005-06-22 12:27:43 +02:00
usb [ALSA] Remove redundant NULL checks before kfree 2005-06-22 12:27:43 +02:00
Kconfig [ALSA] Use standard form for URL 2005-05-29 10:14:50 +02:00
last.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_core.c [PATCH] class: convert sound/* to use the new class api instead of class_simple 2005-06-20 15:15:07 -07:00
sound_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00