Skip to content

Commit

Permalink
ALSA: au88x0 - Fix &&|| typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Feb 17, 2009
1 parent e930e99 commit 8380740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/au88x0/au88x0_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8380740

Please sign in to comment.