linux-stable/sound/pci/echoaudio
Giuliano Pochini b721e68bdc ALSA: Echoaudio, fix Guru Meditation #00000005.48454C50
This patch fixes a division by zero error in the irq handler.

There is a small window between the hw_params() callback and when
runtime->frame_bits is set by ALSA middle layer. When another substream is
already running, if an interrupt is delivered during that window the irq
handler calls pcm_pointer() which does a division by zero. The patch below
makes the irq handler skip substreams that are initialized but not started
yet. Cc to Clemens Ladisch because he proposed an alternate fix.

For more information, please read the original thread in the linux-kernel
mailing list: http://lkml.org/lkml/2010/2/2/187

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-02-17 13:02:29 +01:00
..
darla20.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
darla20_dsp.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
darla24.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
darla24_dsp.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
echo3g.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
echo3g_dsp.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
echoaudio.c ALSA: Echoaudio, fix Guru Meditation #00000005.48454C50 2010-02-17 13:02:29 +01:00
echoaudio.h ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
echoaudio_3g.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
echoaudio_dsp.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
echoaudio_dsp.h ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
echoaudio_gml.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
gina20.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gina20_dsp.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
gina24.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
gina24_dsp.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
indigo.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
indigo_dsp.c ALSA: echoaudio: remove line-out volume from vmixer cards 2009-03-16 08:38:00 +01:00
indigo_express_dsp.c ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
indigodj.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
indigodj_dsp.c ALSA: echoaudio: remove line-out volume from vmixer cards 2009-03-16 08:38:00 +01:00
indigodjx.c ALSA: indigo-express: add missing 64KHz flags 2009-04-28 11:19:39 +02:00
indigodjx_dsp.c ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
indigoio.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
indigoio_dsp.c ALSA: echoaudio: remove line-out volume from vmixer cards 2009-03-16 08:38:00 +01:00
indigoiox.c ALSA: indigo-express: add missing 64KHz flags 2009-04-28 11:19:39 +02:00
indigoiox_dsp.c ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
layla20.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
layla20_dsp.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
layla24.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
layla24_dsp.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
Makefile ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
mia.c ALSA: echoaudio - Re-enable the line-out control for the Mia card 2009-09-30 08:26:45 +02:00
mia_dsp.c Merge branch 'topic/echoaudio' into for-linus 2009-03-24 00:36:07 +01:00
midi.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
mona.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
mona_dsp.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00