aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/audio.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-12-04 16:22:37 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-04 16:22:37 +0100
commit57648cd52b1848c6885bdbd948d113d52f3ddd43 (patch)
tree218c74fde12577ea22f51eabcf4e8b65273edb54 /sound/oss/audio.c
parentMerge branch 'topic/core-change' into for-linus (diff)
parentsnd-fm801: autodetect SF64-PCR (tuner-only) card (diff)
downloadlinux-dev-57648cd52b1848c6885bdbd948d113d52f3ddd43.tar.xz
linux-dev-57648cd52b1848c6885bdbd948d113d52f3ddd43.zip
Merge branch 'topic/misc' into for-linus
Diffstat (limited to 'sound/oss/audio.c')
-rw-r--r--sound/oss/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/audio.c b/sound/oss/audio.c
index b69c05b7ea7b..7df48a25c4ee 100644
--- a/sound/oss/audio.c
+++ b/sound/oss/audio.c
@@ -838,7 +838,7 @@ static int dma_ioctl(int dev, unsigned int cmd, void __user *arg)
if ((err = audio_devs[dev]->d->prepare_for_input(dev,
dmap_in->fragment_size, dmap_in->nbufs)) < 0) {
spin_unlock_irqrestore(&dmap_in->lock,flags);
- return -err;
+ return err;
}
dmap_in->dma_mode = DMODE_INPUT;
audio_devs[dev]->enable_bits |= PCM_ENABLE_INPUT;