linux/drivers/media
David Härdeman 3381b779a7 [media] media: lirc_dev: sanitize locking
Use the irctl mutex for all device operations and only use lirc_dev_lock
to protect the irctls array. Also, make sure that the device is alive
early in each fops function before doing anything else.

Since this patch touches nearly every line where the irctl mutex is
taken/released, it also renames the mutex at the same time (the name
irctl_lock will be misleading once struct irctl goes away in later
patches).

[mchehab@s-opensource.com: fix a merge conflict]
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2017-10-04 14:02:27 -03:00
..
cec Linux 4.14-rc2 2017-09-29 05:24:10 -04:00
common media: drivers: Adjust checks for null pointers 2017-09-23 08:20:57 -04:00
dvb-core media: get rid of removed DMX_GET_CAPS and DMX_SET_SOURCE leftovers 2017-09-05 08:25:07 -04:00
dvb-frontends media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
firewire
i2c media: ov9640: make const arrays res_x/y static const, reduces object code size 2017-09-23 08:30:10 -04:00
mmc
pci Linux 4.14-rc2 2017-09-29 05:24:10 -04:00
platform Linux 4.14-rc2 2017-09-29 05:24:10 -04:00
radio media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
rc [media] media: lirc_dev: sanitize locking 2017-10-04 14:02:27 -03:00
spi
tuners media: dvb: i2c transfers over usb cannot be done from stack 2017-09-23 07:21:33 -04:00
usb media: fix media Kconfig help syntax issues 2017-09-23 14:59:24 -04:00
v4l2-core media: v4l-ioctl: Fix typo on v4l_print_frmsizeenum 2017-09-23 14:56:23 -04:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c media: Make parameter of media_entity_remote_pad() const 2017-07-20 16:54:04 -04:00