[media] cec: zero counters in cec_received_msg()
authorHans Verkuil <hansverk@cisco.com>
Wed, 9 Nov 2016 14:10:59 +0000 (12:10 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 17:49:01 +0000 (15:49 -0200)
commit8991a63d1a8a01938932319c8b98f5a3420a0bb2
treec0389701d5e7e93ccf1c784a18d045d40a55e2b1
parent104eda6d7e3e31fc1beb2c109c5566220d602245
[media] cec: zero counters in cec_received_msg()

Make sure the TX counters are zeroed in the cec_msg struct.
Non-zero TX counters make no sense when a message is received,
and applications should not see non-zero values here.

Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c