mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
OSS: soundcard: fix return value of sound_open()
Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
4e83998f5a
commit
b7d22ccf08
@ -249,7 +249,7 @@ static int sound_open(struct inode *inode, struct file *file)
|
||||
}
|
||||
|
||||
mutex_unlock(&soundcard_mutex);
|
||||
return 0;
|
||||
return retval;
|
||||
}
|
||||
|
||||
static int sound_release(struct inode *inode, struct file *file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user