Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sean Young and committed by
Hans Verkuil
2af8dbd4 67cefecf

+1
+1
drivers/media/rc/Kconfig
··· 184 184 tristate "GPIO IR Bit Banging Transmitter" 185 185 depends on LIRC 186 186 depends on (OF && GPIOLIB) || COMPILE_TEST 187 + depends on !PREEMPT_RT 187 188 help 188 189 Say Y if you want to a GPIO based IR transmitter. This is a 189 190 bit banging driver.