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: actually parse the hpd-may-be-low suboption argument Author: Hans Verkuil <hverk...@xs4all.nl> Date: Tue Apr 1 09:15:16 2025 +0200 While the help text said 'hpd-may-be-low=<0/1>', the argument was actually not parse. Fix this. Signed-off-by: Hans Verkuil <hverk...@xs4all.nl> utils/cec-ctl/cec-ctl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=27fb3998a65a937b59c8dca64a6da4a7c62339b3 diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp index e005b1976e42..9dcd74dba7a1 100644 --- a/utils/cec-ctl/cec-ctl.cpp +++ b/utils/cec-ctl/cec-ctl.cpp @@ -2815,7 +2815,7 @@ int main(int argc, char **argv) test_standby_wakeup_cycle_sleep = strtoul(value, nullptr, 0); break; case 2: - test_standby_wakeup_cycle_hpd_may_be_low = true; + test_standby_wakeup_cycle_hpd_may_be_low = !!strtoul(value, nullptr, 0); break; default: std::exit(EXIT_FAILURE); @@ -2867,7 +2867,7 @@ int main(int argc, char **argv) stress_test_standby_wakeup_cycle_polls = strtoul(value, nullptr, 0); break; case 8: - stress_test_standby_wakeup_cycle_hpd_may_be_low = true; + stress_test_standby_wakeup_cycle_hpd_may_be_low = !!strtoul(value, nullptr, 0); break; default: std::exit(EXIT_FAILURE); @@ -2908,7 +2908,7 @@ int main(int argc, char **argv) stress_test_random_standby_wakeup_seed = strtoul(value, nullptr, 0); break; case 4: - stress_test_random_standby_wakeup_hpd_may_be_low = true; + stress_test_random_standby_wakeup_hpd_may_be_low = !!strtoul(value, nullptr, 0); break; default: std::exit(EXIT_FAILURE);