git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a259cb8
)
sound: OSS: ad1848 - Fix another typo
author
Takashi Iwai
<tiwai@suse.de>
Tue, 17 Feb 2009 07:02:16 +0000
(08:02 +0100)
committer
Takashi 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
patch
|
blob
|
history
diff --git
a/sound/oss/ad1848.c
b/sound/oss/ad1848.c
index
a5b8356
..
d12bd98
100644
(file)
--- a/
sound/oss/ad1848.c
+++ b/
sound/oss/ad1848.c
@@
-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");
}