linux/include/sound
Clemens Ladisch dba8b46992 ALSA: mpu401: clean up interrupt specification
The semantics of snd_mpu401_uart_new()'s interrupt parameters are
somewhat counterintuitive:  To prevent the function from allocating its
own interrupt, either the irq number must be invalid, or the irq_flags
parameter must be zero.  At the same time, the irq parameter being
invalid specifies that the mpu401 code has to work without an interrupt
allocated by the caller.  This implies that, if there is an interrupt
and it is allocated by the caller, the irq parameter must be set to
a valid-looking number which then isn't actually used.

With the removal of IRQF_DISABLED, zero becomes a valid irq_flags value,
which forces us to handle the parameters differently.

This patch introduces a new flag MPU401_INFO_IRQ_HOOK for when the
device interrupt is handled by the caller, and makes the allocation of
the interrupt to depend only on the irq parameter.  As suggested by
Takashi, the irq_flags parameter was dropped because, when used, it had
the constant value IRQF_DISABLED.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-09-14 11:00:51 +02:00
..
ac97_codec.h
aci.h
ad1816a.h
ad1843.h
ak4xxx-adda.h
ak4113.h
ak4114.h
ak4117.h
ak4531_codec.h
ak4641.h ASoC: Asahi Kasei AK4641 codec driver 2011-05-19 14:10:45 -07:00
alc5623.h
asequencer.h
asound_fm.h
asound.h
asoundef.h
atmel-abdac.h
atmel-ac97c.h
control.h Merge branch 'topic/misc' into for-linus 2011-05-22 10:01:29 +02:00
core.h
cs46xx_dsp_scb_types.h
cs46xx_dsp_spos.h
cs46xx_dsp_task_types.h
cs46xx.h
cs4231-regs.h
cs4271.h
cs8403.h
cs8427.h
emu10k1_synth.h
emu10k1.h
emu8000_reg.h
emu8000.h
emux_legacy.h
emux_synth.h
es1688.h
gus.h
hda_hwdep.h
hdsp.h
hdspm.h
hwdep.h
i2c.h
info.h
initval.h
jack.h
Kbuild
l3.h
max98088.h
max98095.h ASoC: Add EQ and filter to max98095 CODEC driver 2011-04-20 13:50:41 +01:00
memalloc.h
minors.h
mixer_oss.h
mpu401.h ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
opl3.h
opl4.h
pcm_oss.h
pcm_params.h ALSA: Make pcm.h self-contained 2011-07-26 17:21:24 +02:00
pcm-indirect.h
pcm.h ALSA: Make pcm.h self-contained 2011-07-26 17:21:24 +02:00
pt2258.h
pxa2xx-lib.h
rawmidi.h ALSA: rawmidi - Use workq for event handling 2011-06-14 14:37:06 +02:00
s3c24xx_uda134x.h
sb16_csp.h ALSA: sb16 - Fix build errors on MIPS and others with 13bit ioctl size 2011-06-30 15:33:57 +02:00
sb.h
seq_device.h
seq_kernel.h
seq_midi_emul.h
seq_midi_event.h
seq_oss_legacy.h
seq_oss.h
seq_virmidi.h
sfnt_info.h
sh_dac_audio.h
sh_fsi.h
snd_wavefront.h
soc-dai.h ASoC: core - Allow components to probe/remove in sequence. 2011-06-07 18:38:27 +01:00
soc-dapm.h ASoC: dapm - add DAPM macro for external enum widgets 2011-07-20 20:51:08 +01:00
soc.h ASoC: core - Add convenience register for platform kcontrol and DAPM 2011-07-05 11:07:41 -07:00
soundfont.h treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
tea575x-tuner.h [media] tea575x: allow multiple opens 2011-07-27 17:53:07 -03:00
tea6330t.h
timer.h
tlv320aic3x.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
tlv320aic32x4.h
tlv320dac33-plat.h ASoC: tlv320dac33: Update e-mail address 2011-05-11 16:12:35 +01:00
tlv.h
tpa6130a2-plat.h ASoC: tpa6130a2: Update e-mail address 2011-05-11 16:12:45 +01:00
trident.h
uda134x.h
uda1380.h
util_mem.h
version.h
vx_core.h
wavefront.h
wm2000.h
wm8903.h
wm8904.h
wm8955.h
wm8960.h
wm8962.h ASoC: Define constants for WM8962 GPIO functions 2011-04-26 11:49:02 +01:00
wm8993.h
wm8996.h ASoC: Rename WM8915 to WM8996 2011-08-08 14:30:37 +09:00
wm9081.h
wm9090.h
wss.h
ymfpci.h