sound: OSS: ad1848 - Fix another typo
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2009 07:02:16 +0000 (08:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2009 07:02:16 +0000 (08:02 +0100)
Fix another typo of || and &&.

Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/ad1848.c

index a5b8356..d12bd98 100644 (file)
@@ -280,7 +280,7 @@ static void wait_for_calibration(ad1848_info * devc)
        while (timeout > 0 && (ad_read(devc, 11) & 0x20))
                timeout--;
        if (ad_read(devc, 11) & 0x20)
-               if ( (devc->model != MD_1845) || (devc->model != MD_1845_SSCAPE))
+               if ((devc->model != MD_1845) && (devc->model != MD_1845_SSCAPE))
                        printk(KERN_WARNING "ad1848: Auto calibration timed out(3).\n");
 }