aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2016-12-06 13:17:12 +0000
committerMauro Carvalho Chehab <[email protected]>2016-12-21 08:59:13 +0000
commitf3854973f196baad5be6b62d8f5ea24b0346b63f (patch)
tree3a5cd042269c43755e5d052c34e57d09ceb7759f /drivers/net/xen-netback/interface.c
parent[media] smiapp: Make suspend and resume functions __maybe_unused (diff)
downloadkernel-f3854973f196baad5be6b62d8f5ea24b0346b63f.tar.gz
kernel-f3854973f196baad5be6b62d8f5ea24b0346b63f.zip
[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. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions