linux_dsm_epyc7002/drivers/media
Hans Verkuil 00ccd263ee media: cec-gpio: use disable/enable_irq
Due to limitations in gpiolib it was impossible to disable the interrupt of
an input gpio and then switch it to gpio output and drive it. The only way
to achieve that was to free the interrupt first, then switch the direction.

When going back to gpio input and using interrupts to read the gpio pin you
had to request the irq again.

This limitation was lifted in gpiolib in kernel 4.20, but the cec-gpio driver
was still using the old workaround implementation.

This patch updates the cec-gpio driver to just enable and disable the irq.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-23 05:29:00 -04:00
..
cec media: cec: mark devnode as registered before actually registering it 2019-05-22 15:33:57 -04:00
common media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
dvb-core media: dvbdev: remove double-unlock 2019-03-28 14:36:14 -04:00
dvb-frontends media: si2168: add frequency data to frontend info 2019-05-21 09:06:14 -04:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
mmc media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
pci media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
platform media: cec-gpio: use disable/enable_irq 2019-05-23 05:29:00 -04:00
radio media: remove unneeded header search paths 2019-05-18 11:49:56 +09:00
rc media: rc: meson-ir: update with SPDX Licence identifier 2019-05-22 15:31:19 -04:00
spi media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
tuners media: tuners: fix several typos 2019-03-01 09:40:29 -05:00
usb media: af9035: Remove duplicate error reporting for dvbsky_usb_generic_rw 2019-05-22 15:30:57 -04:00
v4l2-core media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE 2019-05-21 07:15:45 -04:00
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Makefile media: Media Device Allocator API 2019-04-22 11:18:26 -04:00
media-dev-allocator.c media: Media Device Allocator API 2019-04-22 11:18:26 -04:00
media-device.c media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
media-devnode.c media: Clear devnode->media_dev holding media_devnode_lock 2019-04-22 11:24:33 -04:00
media-entity.c media: replace WARN_ON in __media_pipeline_start() 2019-03-19 14:01:08 -04:00
media-request.c media updates for v5.1-rc1 2019-05-08 11:13:17 -07:00