summaryrefslogtreecommitdiffstats
path: root/sound/pci/au88x0
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-17 07:59:40 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-17 08:00:44 +0100
commit83807400794a1d680a4fb70a610c5f486e734f45 (patch)
tree580a3e4e7c5a0cdb1a0d5cfd85d1b373bc493f96 /sound/pci/au88x0
parente930e99500e5bd055270c668cca8bd2f33056895 (diff)
downloadlinux-83807400794a1d680a4fb70a610c5f486e734f45.tar.bz2
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>
Diffstat (limited to 'sound/pci/au88x0')
-rw-r--r--sound/pci/au88x0/au88x0_core.c2
1 files changed, 1 insertions, 1 deletions
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) {