media: pwm-ir-tx: Depend on CONFIG_HIGH_RES_TIMERS

Since commit 363d0e5628 ("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: 363d0e5628 ("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>
This commit is contained in:
Sean Young 2024-01-30 09:55:25 +01:00 committed by Mauro Carvalho Chehab
parent dc9ceb90c4
commit 346c84e281

View File

@ -319,6 +319,7 @@ config IR_PWM_TX
tristate "PWM IR transmitter" tristate "PWM IR transmitter"
depends on LIRC depends on LIRC
depends on PWM depends on PWM
depends on HIGH_RES_TIMERS
depends on OF depends on OF
help help
Say Y if you want to use a PWM based IR transmitter. This is Say Y if you want to use a PWM based IR transmitter. This is