[media] cec: don't zero reply and timeout on error
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 13 Jul 2016 07:33:58 +0000 (04:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 15 Jul 2016 16:10:43 +0000 (13:10 -0300)
commit86e3577f11d0aa8a5d3c6199f9e3f23cdbd0c0ac
treef0f4ac148083adb9a6f1ffd03089aa3a760613eb
parent19e476c7b0b86cf7953fe1eaa01f90f8bd9d8ab7
[media] cec: don't zero reply and timeout on error

There is really no reason to zero the reply and timeout fields if an
error occurs. This is a left-over from earlier versions where that
was used to signal errors, but this is now handled by the rx/tx_status
fields.

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