diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-06-26 06:57:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-08 18:30:21 -0300 |
commit | 7b12b47f78e458ea90cc350bc7a4b9385eef897a (patch) | |
tree | 0699ebbe6b8aeea8ffa6c39427cf738b918c6013 /drivers/staging | |
parent | 7b2cd0d8dacf0e72cf007e08ab4f82bc245169f7 (diff) | |
download | linux-stable-7b12b47f78e458ea90cc350bc7a4b9385eef897a.tar.gz linux-stable-7b12b47f78e458ea90cc350bc7a4b9385eef897a.tar.bz2 linux-stable-7b12b47f78e458ea90cc350bc7a4b9385eef897a.zip |
[media] cec-adap: on reply, restore the tx_status value from the transmit
When a reply to an earlier transmit is received, the tx_status of that
transmit needs to be restored. Otherwise the status that the transmit
was successful would be lost.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/cec/cec-adap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/cec/cec-adap.c b/drivers/staging/media/cec/cec-adap.c index 5ffa839e5dec..98bdcf92a2b1 100644 --- a/drivers/staging/media/cec/cec-adap.c +++ b/drivers/staging/media/cec/cec-adap.c @@ -801,6 +801,7 @@ void cec_received_msg(struct cec_adapter *adap, struct cec_msg *msg) /* We got a reply */ msg->sequence = dst->sequence; + msg->tx_status = dst->tx_status; dst_reply = dst->reply; *dst = *msg; dst->reply = dst_reply; |