diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-18 06:44:10 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-19 16:27:46 (GMT) |
commit | 009a620848218d521f008141c62f56bf19294dd9 (patch) | |
tree | eceecb22b1fc73fd1c05cc22aeb622ff5b525cad /drivers/usb | |
parent | b7cbc892532316f2abd880186301e57239a17f28 (diff) | |
download | linux-009a620848218d521f008141c62f56bf19294dd9.tar.xz |
[media] cec: always check all_device_types and features
Even when the adapter is configured for CEC 1.4, we still check and
use the CEC 2.0 parts of struct cec_log_addrs. Although these aren't
used in CEC messages, the information contained in them is still of
use in the CEC framework itself, so keep this information.
Also zero the unused trailing features[] data and unused logical address
data so the contents isn't random data.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions