Dan Carpenter 379170a42c 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>
2012-11-18 10:24:49 +01:00
..
2011-03-31 11:26:23 -03:00
2009-07-29 14:37:12 +02:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2010-11-11 01:54:32 +01:00
2011-05-20 11:33:39 +02:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2012-03-28 18:30:03 +01:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2006-10-04 07:55:32 -07:00
2010-01-08 09:17:51 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-10-06 16:47:53 +02:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:30:03 +01:00
2012-06-03 12:04:08 +02:00

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox