sound: oss/pas2: Fix possible access out of array
authorAsim Kadav <kadav@cs.wisc.edu>
Thu, 3 Jan 2013 17:47:26 +0000 (11:47 -0600)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Jan 2013 09:38:27 +0000 (10:38 +0100)
commitdc30a436903ccf180b0313d3fc3f44278a1d44c8
treeb262bd64e751b7d68a012cf0c9329845518327df
parentb7b435e81b7228af68b5d3bef277fce10100b369
sound: oss/pas2: Fix possible access out of array

Added a fix for hardware dependence bug where a sound card failure
should not result in reading beyond array memory index.

Signed-off-by: Asim Kadav <kadav@cs.wisc.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/pas2_card.c