summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-17 06:59:40 (GMT)
committerTakashi Iwai <tiwai@suse.de>2009-02-17 07:00:44 (GMT)
commit83807400794a1d680a4fb70a610c5f486e734f45 (patch)
tree580a3e4e7c5a0cdb1a0d5cfd85d1b373bc493f96 /sound/pci
parente930e99500e5bd055270c668cca8bd2f33056895 (diff)
downloadlinux-fsl-qoriq-83807400794a1d680a4fb70a610c5f486e734f45.tar.xz
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')
-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 e6a04d0..3906f5a 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) {