linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: redrat3: enabling carrier reports switches to wideband receiver
@ 2021-05-10  9:36 Sean Young
  0 siblings, 0 replies; only message in thread
From: Sean Young @ 2021-05-10  9:36 UTC (permalink / raw)
  To: linux-media

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.

Signed-off-by: Sean Young <sean@mess.org>
---
 drivers/media/rc/redrat3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index 2cf3377ec63a..04483afc446b 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -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;
-- 
2.31.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-10  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10  9:36 [PATCH] media: redrat3: enabling carrier reports switches to wideband receiver Sean Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).