summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-28 13:38:29 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-28 13:38:29 +0100
commit6c900804fcc80fe718b9da33501e0a34252a312c (patch)
treebb0f84742a42c55c7ed83b206dfa749355e68c45 /linux/drivers/media
parent7c6ce73528aae8f96ce13949569a1776d67adb6d (diff)
downloadmediapointer-dvb-s2-6c900804fcc80fe718b9da33501e0a34252a312c.tar.gz
mediapointer-dvb-s2-6c900804fcc80fe718b9da33501e0a34252a312c.tar.bz2
dabusb: fix compile warning.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/dabusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/dabusb.c b/linux/drivers/media/video/dabusb.c
index 5585f46dd..9e9cba431 100644
--- a/linux/drivers/media/video/dabusb.c
+++ b/linux/drivers/media/video/dabusb.c
@@ -736,7 +736,6 @@ static int dabusb_release (struct inode *inode, struct file *file)
static long dabusb_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
{
- lock_kernel();
pdabusb_t s = (pdabusb_t) file->private_data;
pbulk_transfer_t pbulk;
int ret = 0;
@@ -744,6 +743,7 @@ static long dabusb_ioctl (struct file *file, unsigned int cmd, unsigned long arg
dbg("dabusb_ioctl");
+ lock_kernel();
if (s->remove_pending) {
unlock_kernel();
return -EIO;