commit | b7d22ccf08d67d13f77a9580d07e7f72e6241213 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Sun Oct 10 19:34:22 2010 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Oct 11 13:45:30 2010 +0200 |
tree | a579154fb9d93bd3b1afe0ba5cf07c6ebe529560 | |
parent | 4e83998f5af010a928495988c586ea2926624db9 [diff] [blame] |
OSS: soundcard: fix return value of sound_open() Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/oss/soundcard.c b/sound/oss/soundcard.c index a5ab61e..46c0d03 100644 --- a/sound/oss/soundcard.c +++ b/sound/oss/soundcard.c
@@ -249,7 +249,7 @@ } mutex_unlock(&soundcard_mutex); - return 0; + return retval; } static int sound_release(struct inode *inode, struct file *file)