forked from rubenslte/android_kernel_samsung_msm8226
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:
committed by
Krishnankutty Kolathappilly
parent
aedeb85749
commit
a2c1b0eeee
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user