Selaa lähdekoodia

ALSA: au88x0 - Fix &&|| typo

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>
Takashi Iwai 16 vuotta sitten
vanhempi
commit
8380740079
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      sound/pci/au88x0/au88x0_core.c

+ 1 - 1
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) {