This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: cec-ctl: exit after reporting all cec devices with --list-devices
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Mon Apr 29 08:55:23 2024 +0200

If the --list-devices option is used, then just exit after listing all
devices. Do not continue and report the driver info of /dev/cec0, that's
unexpected.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 utils/cec-ctl/cec-ctl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=6cea55784db171c184896c1b6390d97d9ccd0a15
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index 1a5f874e939e..8848a49d9b4c 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -2692,7 +2692,7 @@ int main(int argc, char **argv)
                                }
                        }
                        list_devices();
-                       break;
+                       return 0;
 
                case OptTestStandbyWakeupCycle: {
                        static constexpr const char *arg_names[] = {

Reply via email to