Commit b7d22ccf authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai

OSS: soundcard: fix return value of sound_open()

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4e83998f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment