media: rc: remove ir-rx51 in favour of generic pwm-ir-tx
authorSean Young <sean@mess.org>
Fri, 1 Sep 2023 14:18:56 +0000 (15:18 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:40:02 +0000 (09:40 +0200)
commit5ce19a501673b72cf57ce1908a29a3c5b3cd30bb
treea45876001536014b84d44a0bd7d195dcf260bf14
parentda923feefead2efc05ef21eb2a3f1058fe4c13ae
media: rc: remove ir-rx51 in favour of generic pwm-ir-tx

The ir-rx51 is a pwm-based TX driver specific to the N900. This can be
handled entirely by the generic pwm-ir-tx driver, and in fact the
pwm-ir-tx driver has been compatible with ir-rx51 from the start.

Note that the suspend code in the ir-rx51 driver is unnecessary, since
during transmit, the process is not in interruptable sleep. The process
is not put to sleep until the transmit completes.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
arch/arm/configs/omap2plus_defconfig
drivers/media/rc/Kconfig
drivers/media/rc/Makefile
drivers/media/rc/ir-rx51.c [deleted file]
drivers/media/rc/pwm-ir-tx.c