提交 b22f5d94 编写于 作者: T Takashi Iwai

sound: OSS: ad1848 - Fix another typo

Fix another typo of || and &&.
Reported-by: NJörg-Volker Peetz <jvpeetz@web.de>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册