forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
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))