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

Subject: media: lmedm04: don't ignore errors when setting a filter
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Mon Nov 22 12:01:48 2021 +0000

Solves a clang warning.

Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/usb/dvb-usb-v2/lmedm04.c | 3 +++
 1 file changed, 3 insertions(+)

---

diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c 
b/drivers/media/usb/dvb-usb-v2/lmedm04.c
index fe4d886442a4..8a34e6c0d6a6 100644
--- a/drivers/media/usb/dvb-usb-v2/lmedm04.c
+++ b/drivers/media/usb/dvb-usb-v2/lmedm04.c
@@ -423,6 +423,9 @@ static int lme2510_pid_filter_ctrl(struct dvb_usb_adapter 
*adap, int onoff)
 
        mutex_unlock(&d->i2c_mutex);
 
+       if (ret)
+               return -EREMOTEIO;
+
        return 0;
 }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to