diff options
| -rw-r--r-- | sound/core/compress_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c index 99db892d7299..98969541cbcc 100644 --- a/sound/core/compress_offload.c +++ b/sound/core/compress_offload.c | |||
| @@ -743,7 +743,7 @@ static long snd_compr_ioctl(struct file *f, unsigned int cmd, unsigned long arg) | |||
| 743 | mutex_lock(&stream->device->lock); | 743 | mutex_lock(&stream->device->lock); |
| 744 | switch (_IOC_NR(cmd)) { | 744 | switch (_IOC_NR(cmd)) { |
| 745 | case _IOC_NR(SNDRV_COMPRESS_IOCTL_VERSION): | 745 | case _IOC_NR(SNDRV_COMPRESS_IOCTL_VERSION): |
| 746 | put_user(SNDRV_COMPRESS_VERSION, | 746 | retval = put_user(SNDRV_COMPRESS_VERSION, |
| 747 | (int __user *)arg) ? -EFAULT : 0; | 747 | (int __user *)arg) ? -EFAULT : 0; |
| 748 | break; | 748 | break; |
| 749 | case _IOC_NR(SNDRV_COMPRESS_GET_CAPS): | 749 | case _IOC_NR(SNDRV_COMPRESS_GET_CAPS): |
