summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans Verkuil <hansverk@cisco.com>2016-12-06 11:17:12 -0200
committerRay Zhang <rayz@codeaurora.org>2017-05-25 11:22:18 +0800
commitcdbf73bc8293cbb20bcf53d3e65d4ff9c345dff5 (patch)
treea19151b2bc39a81c7ee87cfc8fcb68dafa3c6c11 /tools/perf/scripts/python/bin
parentd62107c2c6937a4fc479befc05a3991bf13e1b9d (diff)
[media] cec: fix report_current_latency
In the (very) small print of the REPORT_CURRENT_LATENCY message there is a line that says that the last byte of the message (audio out delay) is only present if the 'audio out compensated' value is 3. I missed this, and so if this message was sent with a total length of 6 (i.e. without the audio out delay byte), then it was rejected by the framework since a minimum length of 7 was expected. Fix this minimum length check and update the wrappers in cec-funcs.h to do the right thing based on the message length. Change-Id: I123cc5fc2b6baca8cb2910bc687489329e81ca73 Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Git-commit: f3854973f196baad5be6b62d8f5ea24b0346b63f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions