mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
|
From 3baf3121772e6e37c318a8db4788a25655bf47ad Mon Sep 17 00:00:00 2001
|
||
|
From: Sean Young <sean@mess.org>
|
||
|
Date: Tue, 30 Jan 2024 09:55:25 +0100
|
||
|
Subject: [PATCH 0943/1085] media: pwm-ir-tx: Depend on CONFIG_HIGH_RES_TIMERS
|
||
|
|
||
|
commit 346c84e281a963437b9fe9dfcd92c531630289de upstream.
|
||
|
|
||
|
Since commit 363d0e56285e ("media: pwm-ir-tx: Trigger edges from
|
||
|
hrtimer interrupt context"), pwm-ir-tx uses high resolution timers
|
||
|
for IR signal generation when the pwm can be used from atomic context.
|
||
|
Ensure they are available.
|
||
|
|
||
|
Fixes: 363d0e56285e ("media: pwm-ir-tx: Trigger edges from hrtimer interrupt context")
|
||
|
Signed-off-by: Sean Young <sean@mess.org>
|
||
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
||
|
---
|
||
|
drivers/media/rc/Kconfig | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
--- a/drivers/media/rc/Kconfig
|
||
|
+++ b/drivers/media/rc/Kconfig
|
||
|
@@ -319,6 +319,7 @@ config IR_PWM_TX
|
||
|
tristate "PWM IR transmitter"
|
||
|
depends on LIRC
|
||
|
depends on PWM
|
||
|
+ depends on HIGH_RES_TIMERS
|
||
|
depends on OF
|
||
|
help
|
||
|
Say Y if you want to use a PWM based IR transmitter. This is
|