Skip to contentSkip to conversation

media: redrat3: enabling carrier reports switches to wideband receiver

PATCH New Sean Young 1 participant 1 message May 10, 2021

Subsystems (2)
lore
Share & tools
lore

Sean Young

author maintainer
#0 lore raw

PATCH 1/1 media: redrat3: enabling carrier reports switches to wideband receiver

In order to measure the carrier, the redrat3 needs to switch to the short range wideband receiver. This is what s_learning_mode() or the LIRC_SET_WIDEBAND_RECEIVER ioctl is for.

---
 drivers/media/rc/redrat3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/rc/redrat3.c +1 -1
index 2cf3377ec63a..04483afc446b 100644
@@ -952,7 +952,7 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
 	rc->s_timeout = redrat3_set_timeout;
 	rc->tx_ir = redrat3_transmit_ir;
 	rc->s_tx_carrier = redrat3_set_tx_carrier;
-	rc->s_carrier_report = redrat3_wideband_receiver;
+	rc->s_learning_mode = redrat3_wideband_receiver;
 	rc->driver_name = DRIVER_NAME;
 	rc->rx_resolution = 2;
 	rc->map_name = RC_MAP_HAUPPAUGE;
Signature · 1 line
2.31.1