forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
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))