diff options
Diffstat (limited to 'sound/core/control.c')
-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 73dc10ac33f..268ab747122 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, | |||
1119 | goto __kctl_end; | 1119 | goto __kctl_end; |
1120 | } | 1120 | } |
1121 | if (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) { | 1121 | if (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) { |
1122 | if (file && vd->owner != NULL && vd->owner != file) { | 1122 | if (vd->owner != NULL && vd->owner != file) { |
1123 | err = -EPERM; | 1123 | err = -EPERM; |
1124 | goto __kctl_end; | 1124 | goto __kctl_end; |
1125 | } | 1125 | } |