summaryrefslogtreecommitdiff
path: root/drivers/dma/coh901318_lli.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-11-17 19:08:57 +0400
committerTakashi Iwai <tiwai@suse.de>2012-11-18 13:24:49 +0400
commit379170a42c84cee5f95fac536a4b5b76843baf90 (patch)
tree711883cc5769c9d9cfccfcf211bc6a9b29d1de41 /drivers/dma/coh901318_lli.c
parent190006f9d6594ee9ef4775ec09edda7df76fc8f1 (diff)
downloadlinux-379170a42c84cee5f95fac536a4b5b76843baf90.tar.xz
sound: oss/sb_audio: cap value in sb201_audio_set_speed()
We set "s" before we have capped "speed" so it could be the wrong value. This could lead to a divide by zero bug. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/dma/coh901318_lli.c')
0 files changed, 0 insertions, 0 deletions