This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: mceusb: ensure rx resolution can be retrieved
Author:  Sean Young <s...@mess.org>
Date:    Tue Aug 3 11:03:30 2021 +0200

The receiver resolution is not populated. The resolution can be used to for
various purposes like calculating the margins the decoder should use.

Signed-off-by: Sean Young <s...@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+hua...@kernel.org>

 drivers/media/rc/mceusb.c | 1 +
 1 file changed, 1 insertion(+)

---

diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c
index e03dd1f0144f..28bf78ff246a 100644
--- a/drivers/media/rc/mceusb.c
+++ b/drivers/media/rc/mceusb.c
@@ -1612,6 +1612,7 @@ static struct rc_dev *mceusb_init_rc_dev(struct 
mceusb_dev *ir)
        rc->dev.parent = dev;
        rc->priv = ir;
        rc->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER;
+       rc->rx_resolution = MCE_TIME_UNIT;
        rc->min_timeout = MCE_TIME_UNIT;
        rc->timeout = MS_TO_US(100);
        if (!mceusb_model[ir->model].broken_irtimeout) {

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to