diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-10 13:34:22 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-10-11 07:45:30 -0400 |
commit | b7d22ccf08d67d13f77a9580d07e7f72e6241213 (patch) | |
tree | a579154fb9d93bd3b1afe0ba5cf07c6ebe529560 /sound/oss/soundcard.c | |
parent | 4e83998f5af010a928495988c586ea2926624db9 (diff) |
OSS: soundcard: fix return value of sound_open()
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/soundcard.c')
-rw-r--r-- | sound/oss/soundcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/soundcard.c b/sound/oss/soundcard.c index a5ab61ed0a97..46c0d03dbecc 100644 --- a/sound/oss/soundcard.c +++ b/sound/oss/soundcard.c | |||
@@ -249,7 +249,7 @@ static int sound_open(struct inode *inode, struct file *file) | |||
249 | } | 249 | } |
250 | 250 | ||
251 | mutex_unlock(&soundcard_mutex); | 251 | mutex_unlock(&soundcard_mutex); |
252 | return 0; | 252 | return retval; |
253 | } | 253 | } |
254 | 254 | ||
255 | static int sound_release(struct inode *inode, struct file *file) | 255 | static int sound_release(struct inode *inode, struct file *file) |