Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170102
b: refs/heads/master
c: bec145a
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Takashi Iwai committed Nov 18, 2009
1 parent 040a756 commit 37a9a34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 67f2db24fbfdb63495d995d6fbbbe42980004ee0
refs/heads/master: bec145ae6f6978f0319e5600a742f45f76ecc4dd
2 changes: 1 addition & 1 deletion trunk/sound/core/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ static int snd_ctl_tlv_ioctl(struct snd_ctl_file *file,
goto __kctl_end;
}
if (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) {
if (file && vd->owner != NULL && vd->owner != file) {
if (vd->owner != NULL && vd->owner != file) {
err = -EPERM;
goto __kctl_end;
}
Expand Down

0 comments on commit 37a9a34

Please sign in to comment.