projects
/
firefly-linux-kernel-4.4.55.git
/ 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 a5b83568bdc8decafefa4c03df40d1926b7bff0b..d12bd98a37ba6f207190df984ae113be1e5e8dcd 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");
}