projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce18c48
)
V4L/DVB (11256): dabusb: fix compile warning.
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sat, 28 Mar 2009 12:38:29 +0000
(09:38 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:44 +0000
(12:43 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/dabusb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/dabusb.c
b/drivers/media/video/dabusb.c
index 384da45807a0bd05d77860bc77ce8e650dc68c5b..ba3709bec3f0a42d84d34d2ba88e8bd62feb104a 100644
(file)
--- a/
drivers/media/video/dabusb.c
+++ b/
drivers/media/video/dabusb.c
@@
-675,7
+675,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;
@@
-683,6
+682,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;