From: Dan Carpenter Date: Sat, 17 Nov 2012 15:08:57 +0000 (+0300) Subject: sound: oss/sb_audio: cap value in sb201_audio_set_speed() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=379170a42c84cee5f95fac536a4b5b76843baf90;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed