Patch 2.5.48 ALSA Cirrus Logic 4281

From: Margit Schubert-While (margit@margit.com)
Date: Wed Nov 20 2002 - 05:11:02 EST


--- cs4281.c 2002-11-18 05:29:56.000000000 +0100
+++ /tmp/cs4281.c 2002-11-20 11:03:16.000000000 +0100
@@ -2109,7 +2109,7 @@
         snd_cs4281_pokeBA0(chip, BA0_HICR, BA0_HICR_CHGM);

         /* 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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:31 EST