summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2024-09-20 11:03:25 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-08 11:07:45 +0200
commit2af8dbd4abbfc0007dd4dabb254dcf15dcdfe73e (patch)
tree0e68fdf2c7376855de1ad8b9992093bd6b944e1e /drivers/media
parentmailmap: add entries for Hans Verkuil (diff)
downloadlinux-2af8dbd4abbfc0007dd4dabb254dcf15dcdfe73e.tar.xz
linux-2af8dbd4abbfc0007dd4dabb254dcf15dcdfe73e.zip
media: gpio-ir-tx: Driver does not behave with PREEMPT_RT
This driver bit-bangs a signal with interrupts disabled. The signal can last for up to half a second (IR_MAX_DURATION). A much better way of transmitting IR is using the pwm-ir-tx driver, which does not disable interrupts. Signed-off-by: Sean Young <sean@mess.org> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/rc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index 74d69ce22a33..0a8aeafdb7e0 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -184,6 +184,7 @@ config IR_GPIO_TX
tristate "GPIO IR Bit Banging Transmitter"
depends on LIRC
depends on (OF && GPIOLIB) || COMPILE_TEST
+ depends on !PREEMPT_RT
help
Say Y if you want to a GPIO based IR transmitter. This is a
bit banging driver.