[media] pulse8-cec: fix error handling
commit31f58e31dc0e170e117a83584103921269b7581b
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 12 Aug 2016 09:46:06 +0000 (12 06:46 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 22 Aug 2016 17:04:09 +0000 (22 14:04 -0300)
tree58036a32968d3bc12831c53b4c7e430f92f548c7
parent1e6e97541ab51b65019bd823506af81ebb3730fc
[media] pulse8-cec: fix error handling

Support more error codes and fix a bug where MSGCODE_TRANSMIT_FAILED_LINE
was mapped to CEC_TX_STATUS_ARB_LOST, which is wrong.

Thanks to Pulse-Eight for providing me with the information needed
to handle this correctly (I hope).

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