From c95530b6b63e11b2c25120f889b54efa30558358 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 11 Jun 2007 12:23:31 +0200 Subject: [PATCH] --- yaml --- r: 62063 b: refs/heads/master c: 1c3973240b94a48766b7bfe743a4fcaad4eab3eb h: refs/heads/master i: 62061: b64bd3121903be7f7f41a86580639d5daf76dd12 62059: 75a2854e06850bb472d929ae28341adc94e071be 62055: 5f978abf9220bffeba8e31404bb7530847bbb7c0 62047: a35d3bc8b35db2f024415bf64335d04116881a10 v: v3 --- [refs] | 2 +- trunk/sound/pci/ali5451/ali5451.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b18cd899f1b5..ef4f1410abbc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 13d457094bc364e942884266036fd1b2ab74308b +refs/heads/master: 1c3973240b94a48766b7bfe743a4fcaad4eab3eb diff --git a/trunk/sound/pci/ali5451/ali5451.c b/trunk/sound/pci/ali5451/ali5451.c index e2c8666e06ad..05b4c8696941 100644 --- a/trunk/sound/pci/ali5451/ali5451.c +++ b/trunk/sound/pci/ali5451/ali5451.c @@ -731,8 +731,7 @@ static void snd_ali_detect_spdif_rate(struct snd_ali *codec) return; } - count = 0; - while (count++ <= 50000) { + for (count = 0; count <= 50000; count++) { snd_ali_delay(codec, 6); bval = inb(ALI_REG(codec,ALI_SPDIF_CTRL + 1)); R2 = bval & 0x1F;