[media] cec: CEC_RECEIVE overwrote the timeout field
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 16 Jul 2016 10:58:31 +0000 (07:58 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 19 Jul 2016 16:21:34 +0000 (13:21 -0300)
commite883b4d02670ae83ab24e9af969de1af756959f8
tree2efb905cd39b30680d05cb2aeec230400bbf8938
parente05b1872f29a85532c2b34e3a4974a27158f1463
[media] cec: CEC_RECEIVE overwrote the timeout field

When CEC_RECEIVE returns a message the original timeout field
was overwritten. Restore the timeout field.

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