MLK-21941: imx-hdp-cec: change CEC_TX_STATUS_ERROR to NACK
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 18 Jul 2019 02:04:06 +0000 (10:04 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 19 Jul 2019 06:53:38 +0000 (14:53 +0800)
commit738b4bcd93b8e5e241889fa2d8c35e8734ffd750
tree3169a6d0359e6a414bcdbf6be1e43b5762869d03
parent720ed81158607cefecec7a3f7c53680aff251139
MLK-21941: imx-hdp-cec: change CEC_TX_STATUS_ERROR to NACK

With commit cd7b7f509cd0 ("media: cec: check for non-OK/NACK
conditions while claiming a LA")

When set the LA, the cec stack try to transmit the message "0x55"
(5 is LA) before configure the LA, and check the return value
But our cec driver alway return ERROR, which cause the setting of
LA failure, so change the return value to be NACK.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
drivers/mxc/hdp-cec/imx-hdp-cec.c