soc: return value of get soc version ioctl

Change-Id: I20e46f87997298adb08b0bab30ca82ed1c8cbc19
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
This commit is contained in:
Haynes Mathew George
2013-11-01 10:09:21 -07:00
committed by Krishnankutty Kolathappilly
parent aedeb85749
commit a2c1b0eeee
+1 -1
View File
@@ -752,7 +752,7 @@ static int snd_compress_simple_ioctls(struct file *file,
switch (_IOC_NR(cmd)) {
case _IOC_NR(SNDRV_COMPRESS_IOCTL_VERSION):
put_user(SNDRV_COMPRESS_VERSION,
retval = put_user(SNDRV_COMPRESS_VERSION,
(int __user *)arg) ? -EFAULT : 0;
break;