Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23594
b: refs/heads/master
c: fe9bab2
h: refs/heads/master
v: v3
  • Loading branch information
Eugene Teo authored and Linus Torvalds committed Mar 25, 2006
1 parent b76611d commit 9102cd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f4d4a80fbcb1e09cfb95660bcd2b677ea6d04c1
refs/heads/master: fe9bab2df96cec7011773aab272515b9faa9b6c4
6 changes: 3 additions & 3 deletions trunk/sound/oss/sb_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,14 @@ int sb_common_mixer_set(sb_devc * devc, int dev, int left, int right)
int regoffs;
unsigned char val;

if ((dev < 0) || (dev >= devc->iomap_sz))
return -EINVAL;

regoffs = (*devc->iomap)[dev][LEFT_CHN].regno;

if (regoffs == 0)
return -EINVAL;

if ((dev < 0) || (dev >= devc->iomap_sz))
return -EINVAL;

val = sb_getmixer(devc, regoffs);
change_bits(devc, &val, dev, LEFT_CHN, left);

Expand Down

0 comments on commit 9102cd1

Please sign in to comment.