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:
e930e99
)
ALSA: au88x0 - Fix &&|| typo
author
Takashi Iwai
<tiwai@suse.de>
Tue, 17 Feb 2009 06:59:40 +0000
(07:59 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 17 Feb 2009 07:00:44 +0000
(08:00 +0100)
Fixed a typo of || and &&.
As it's in a disabled code section, there is no behavior change, though.
Reported-by: Jörg-Volker Peetz <jvpeetz@web.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0_core.c
patch
|
blob
|
history
diff --git
a/sound/pci/au88x0/au88x0_core.c
b/sound/pci/au88x0/au88x0_core.c
index e6a04d037c15c60683af6abd72ea675bd748b31f..3906f5afe27a3a9b27c9f0bf90e36108664d4925 100644
(file)
--- a/
sound/pci/au88x0/au88x0_core.c
+++ b/
sound/pci/au88x0/au88x0_core.c
@@
-2800,7
+2800,7
@@
vortex_translateformat(vortex_t * vortex, char bits, char nch, int encod)
{
int a, this_194;
- if ((bits != 8)
||
(bits != 16))
+ if ((bits != 8)
&&
(bits != 16))
return -1;
switch (encod) {