hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/cec/core/cec-adap.c
....@@ -1085,7 +1085,8 @@
10851085 mutex_lock(&adap->lock);
10861086 dprintk(2, "%s: %*ph\n", __func__, msg->len, msg->msg);
10871087
1088
- adap->last_initiator = 0xff;
1088
+ if (!adap->transmit_in_progress)
1089
+ adap->last_initiator = 0xff;
10891090
10901091 /* Check if this message was for us (directed or broadcast). */
10911092 if (!cec_msg_is_broadcast(msg))