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

Subject: media: streamzap: ensure rx resolution can be retrieved
Author:  Sean Young <s...@mess.org>
Date:    Tue Aug 3 11:19:54 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/streamzap.c | 1 +
 1 file changed, 1 insertion(+)

---

diff --git a/drivers/media/rc/streamzap.c b/drivers/media/rc/streamzap.c
index 9cd765e31c49..1cc5ebb85b6c 100644
--- a/drivers/media/rc/streamzap.c
+++ b/drivers/media/rc/streamzap.c
@@ -293,6 +293,7 @@ static struct rc_dev *streamzap_init_rc_dev(struct 
streamzap_ir *sz)
        rdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER;
        rdev->driver_name = DRIVER_NAME;
        rdev->map_name = RC_MAP_STREAMZAP;
+       rdev->rx_resolution = SZ_RESOLUTION;
 
        ret = rc_register_device(rdev);
        if (ret < 0) {

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

Reply via email to