Commit b22f5d94 authored by Takashi Iwai's avatar Takashi Iwai

sound: OSS: ad1848 - Fix another typo

Fix another typo of || and &&.
Reported-by: default avatarJörg-Volker Peetz <jvpeetz@web.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a259cb8e
......@@ -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");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment