OSS: soundcard: fix return value of sound_open()
Subsystems (2)
PATCH 2/2 OSS: soundcard: fix return value of sound_open()
Signed-off-by Dan Carpenter <[email protected]>
sound/oss/soundcard.c +1 -1
@@ -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)
Takashi Iwai
AppliedAt Sun, 10 Oct 2010 19:34:22 +0200,
Quoted 2 lines · Dan Carpenter
Signed-off-by Dan Carpenter <[email protected]>
Applied. Thanks.
Takashi
Quoted 14 lines
sound/oss/soundcard.c +1
-1@@ -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)