aboutsummaryrefslogtreecommitdiffstats
path: root/fs/stat.c
diff options
context:
space:
mode:
authorGiuliano Pochini <pochini@shiny.it>2010-02-17 00:57:44 +0100
committerTakashi Iwai <tiwai@suse.de>2010-02-17 13:02:29 +0100
commitb721e68bdc5b39c51bf6a1469f8d3663fbe03243 (patch)
tree4aa3012b5bf32a71a3fa7f879eb9dc0923f1981c /fs/stat.c
parent724e6d3fe8003c3f60bf404bf22e4e331327c596 (diff)
downloadkernel_samsung_aries-b721e68bdc5b39c51bf6a1469f8d3663fbe03243.zip
kernel_samsung_aries-b721e68bdc5b39c51bf6a1469f8d3663fbe03243.tar.gz
kernel_samsung_aries-b721e68bdc5b39c51bf6a1469f8d3663fbe03243.tar.bz2
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>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions