From: Takashi Iwai Date: Tue, 17 Feb 2009 06:59:40 +0000 (+0100) Subject: ALSA: au88x0 - Fix &&|| typo X-Git-Tag: v2.6.30-rc1~676^2~22^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=83807400794a1d680a4fb70a610c5f486e734f45;p=karo-tx-linux.git 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c index e6a04d037c15..3906f5afe27a 100644 --- 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) {