Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Nov 2002 05:03:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Nov 2002 05:03:45 -0500 Received: from mailout03.sul.t-online.com ([194.25.134.81]:41416 "EHLO mailout03.sul.t-online.com") by vger.kernel.org with ESMTP id ; Wed, 20 Nov 2002 05:03:45 -0500 Message-Id: <4.3.2.7.2.20021120110545.00b53a30@mail.dns-host.com> X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 20 Nov 2002 11:11:02 +0100 To: linux-kernel@vger.kernel.org From: Margit Schubert-While Subject: Patch 2.5.48 ALSA Cirrus Logic 4281 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1046 Lines: 27 --- 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/