OSDN Git Service

ALSA: au88x0 - Fix &&|| typo
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2009 06:59:40 +0000 (07:59 +0100)
committerTakashi 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

index e6a04d0..3906f5a 100644 (file)
@@ -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) {