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)
commit2af8dbd4abbfc0007dd4dabb254dcf15dcdfe73e
tree0e68fdf2c7376855de1ad8b9992093bd6b944e1e
parent67cefecf2a039b9ed0030b9213ceafcd45e6f9e3
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>
drivers/media/rc/Kconfig