android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Florian Fainelli 53adb408b1 media: rc: gpio-ir-recv: Fix support for wake-up
[ Upstream commit 9c592f8ab114875fdb3b2040f01818e53de44991 ]

The driver was intended from the start to be a wake-up source for the
system, however due to the absence of a suitable call to
device_set_wakeup_capable(), the device_may_wakeup() call used to decide
whether to enable the GPIO interrupt as a wake-up source would never
happen. Lookup the DT standard "wakeup-source" property and call
device_init_wakeup() to ensure the device is flagged as being wakeup
capable.

Reported-by: Matthew Lear <[email protected]>
Fixes: fd0f6851eb ("[media] rc: Add support for GPIO based IR Receiver driver")
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-05-17 11:35:38 +02:00
..
cec media: cec-adap.c: fix is_configuring state 2022-06-14 18:11:28 +02:00
common media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach() 2022-01-27 09:19:43 +01:00
dvb-core media: dvb-core: Fix UAF due to refcount races at releasing 2023-01-18 11:41:48 +01:00
dvb-frontends media: stv0288: use explicitly signed char 2023-01-18 11:41:45 +01:00
firewire
i2c media: m5mols: fix off-by-one loop termination error 2023-03-22 13:28:07 +01:00
mc
mmc
pci media: saa7134: fix use after free bug in saa7134_finidev due to race condition 2023-05-17 11:35:38 +02:00
platform media: rcar_fdp1: Fix refcount leak in probe and remove function 2023-05-17 11:35:38 +02:00
radio media: si470x: Fix use-after-free in si470x_int_in_callback() 2023-01-18 11:41:38 +01:00
rc media: rc: gpio-ir-recv: Fix support for wake-up 2023-05-17 11:35:38 +02:00
spi
tuners
usb media: uvcvideo: Fix race condition with usb_kill_urb 2023-03-11 16:44:16 +01:00
v4l2-core media: videobuf-dma-contig: use dma_mmap_coherent 2023-01-18 11:41:04 +01:00
Kconfig
Makefile