ALSA: asihpi: incorrect range check
authorDan Carpenter <error27@gmail.com>
Fri, 14 May 2010 14:50:05 +0000 (16:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 May 2010 06:10:34 +0000 (08:10 +0200)
commit1be1d76b8a1f622fd3a64778dfe117053f2af1f2
tree589a35b6ae71b544d1f1a0590f176f16268ef1b0
parent2448b14715bc83d75ed779452fe89285df4d772a
ALSA: asihpi: incorrect range check

The entity_type_to_size[] array has LAST_ENTITY_TYPE (11) number of elements,
not LAST_ENTITY_ROLE (17).  This only affects the debug output.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpifunc.c