/* remember the status registers */
- for (i = 0; number_of(saved_regs); i++)
+ for (i = 0; i < number_of(saved_regs); i++)
if (saved_regs[i])
chip->suspend_regs[i] = snd_cs4281_peekBA0(chip,
saved_regs[i]);
@@ -2153,7 +2153,7 @@
snd_cs4281_chip_init(chip, 0);
/* restore the status registers */
- for (i = 0; number_of(saved_regs); i++)
+ for (i = 0; i < number_of(saved_regs); i++)
if (saved_regs[i])
snd_cs4281_pokeBA0(chip, saved_regs[i],
chip->suspend_regs[i]);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/