ALSA: asihpi: incorrect range check