summaryrefslogtreecommitdiff
path: root/drivers/media/rc/pwm-ir-tx.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2023-09-01 17:18:56 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 10:40:02 +0300
commit5ce19a501673b72cf57ce1908a29a3c5b3cd30bb (patch)
treea45876001536014b84d44a0bd7d195dcf260bf14 /drivers/media/rc/pwm-ir-tx.c
parentda923feefead2efc05ef21eb2a3f1058fe4c13ae (diff)
downloadlinux-5ce19a501673b72cf57ce1908a29a3c5b3cd30bb.tar.xz
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>
Diffstat (limited to 'drivers/media/rc/pwm-ir-tx.c')
-rw-r--r--drivers/media/rc/pwm-ir-tx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/pwm-ir-tx.c b/drivers/media/rc/pwm-ir-tx.c
index 7732054c4621..c5f37c03af9c 100644
--- a/drivers/media/rc/pwm-ir-tx.c
+++ b/drivers/media/rc/pwm-ir-tx.c
@@ -23,6 +23,7 @@ struct pwm_ir {
static const struct of_device_id pwm_ir_of_match[] = {
{ .compatible = "pwm-ir-tx", },
+ { .compatible = "nokia,n900-ir" },
{ },
};
MODULE_DEVICE_TABLE(of, pwm_ir_of_match);