projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bdfe55
)
[media] tlg2300: switch to unlocked_ioctl
author
Hans Verkuil
<hans.verkuil@cisco.com>
Thu, 12 Jul 2012 15:33:41 +0000
(12:33 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 4 Mar 2013 20:30:54 +0000
(17:30 -0300)
The driver already does locking, so it is safe to switch to unlocked_ioctl.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tlg2300/pd-radio.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/tlg2300/pd-radio.c
b/drivers/media/usb/tlg2300/pd-radio.c
index 90dc1d1fcecc4371e862f3895b4d9bd41c45ff15..c4feffbebeb657c96decaa4fee8657b5931a8dd3 100644
(file)
--- a/
drivers/media/usb/tlg2300/pd-radio.c
+++ b/
drivers/media/usb/tlg2300/pd-radio.c
@@
-156,7
+156,7
@@
static const struct v4l2_file_operations poseidon_fm_fops = {
.owner = THIS_MODULE,
.open = poseidon_fm_open,
.release = poseidon_fm_close,
- .
ioctl
= video_ioctl2,
+ .
unlocked_ioctl
= video_ioctl2,
};
static int tlg_fm_vidioc_g_tuner(struct file *file, void *priv,