~libv4l/libv4l/dev

Viewing all changes in revision 4578.

  • Committer: Hans Verkuil
  • Date: 2020-10-22 14:11:14 UTC
  • Revision ID: git-v1:94c0844b06c2c2517fdfe97e84c047ca3b2d67d8
cec-ctl: really wait for 2 seconds when the HPD is low

The purpose of commit 5b4a5a96ebe5 ("cec-ctl: improve wait_for_pwr_state")
was to: "if, while waiting for Standby, the HPD is pulled low, then do not
immediately assume the device is in standby, instead wait for two
consecutive low HPDs before reporting that the device is in standby.".

However, CEC_ADAP_G_LOG_ADDRS calls that checked if the logical address
was invalid prevented that commit from actually doing the right thing.

Those CEC_ADAP_G_LOG_ADDRS calls should have been removed, so do this now.

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: