OSS: soundcard: fix return value of sound_open()

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
Dan Carpenter 2010-10-10 19:34:22 +02:00 • committed by Takashi Iwai
commit b7d22ccf08

View file

@ -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)