]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: gpio-ir-tx: Driver does not behave with PREEMPT_RT
authorSean Young <sean@mess.org>
Fri, 20 Sep 2024 09:03:25 +0000 (11:03 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 8 Oct 2024 09:07:45 +0000 (11:07 +0200)
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>
drivers/media/rc/Kconfig

index 74d69ce22a33e801762bc156c8c40289b2b2d4cb..0a8aeafdb7e07aaaf5ec397c10b1279d53c8306a 100644 (file)
@@ -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.