Merge branch 'topic/vmaster-update' into topic/docbook-fix
[sfrench/cifs-2.6.git] / sound / pci / intel8x0.c
index 671ff65db0298974494d7ca6e362c7a7559dc57e..608655e9275e5e27e846665dd6dff1f91a010fc1 100644 (file)
@@ -617,7 +617,7 @@ static int snd_intel8x0_ali_codec_semaphore(struct intel8x0 *chip)
        int time = 100;
        if (chip->buggy_semaphore)
                return 0; /* just ignore ... */
-       while (time-- && (igetdword(chip, ICHREG(ALI_CAS)) & ALI_CAS_SEM_BUSY))
+       while (--time && (igetdword(chip, ICHREG(ALI_CAS)) & ALI_CAS_SEM_BUSY))
                udelay(1);
        if (! time && ! chip->in_ac97_init)
                snd_printk(KERN_WARNING "ali_codec_semaphore timeout\n");