diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-04 16:22:37 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-04 16:22:37 +0100 |
commit | 57648cd52b1848c6885bdbd948d113d52f3ddd43 (patch) | |
tree | 218c74fde12577ea22f51eabcf4e8b65273edb54 /sound/core | |
parent | Merge branch 'topic/core-change' into for-linus (diff) | |
parent | snd-fm801: autodetect SF64-PCR (tuner-only) card (diff) | |
download | linux-57648cd52b1848c6885bdbd948d113d52f3ddd43.tar.xz linux-57648cd52b1848c6885bdbd948d113d52f3ddd43.zip |
Merge branch 'topic/misc' into for-linus
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/control.c b/sound/core/control.c index 73dc10ac33f6..268ab7471224 100644 --- a/sound/core/control.c +++ b/sound/core/control.c @@ -1119,7 +1119,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; } |