Roel Kluin 02bb57aeb0 sound: OSS: keep index within bounds of midi_devs[]
When the {orig,midi}_dev equals num_midis, that's one too
large already.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-11-16 17:45:50 +01:00
..
2009-02-17 08:02:16 +01:00
2009-07-29 14:37:12 +02:00
2009-03-16 08:32:27 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-04 07:55:32 -07:00
2006-10-04 07:55:32 -07:00
2009-02-11 14:12:04 +01:00
2005-04-16 15:20:36 -07:00
2009-06-25 08:52:49 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2009-08-10 13:15:43 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-07-16 09:05:40 -07:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2009-03-30 15:21:59 +02:00
2005-04-16 15:20:36 -07:00
2006-10-03 23:01:26 +02:00
2007-07-01 12:29:44 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07: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
2005-04-16 15:20:36 -07:00
2006-10-04 07:55:32 -07:00
2005-04-16 15:20:36 -07:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07: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