@@ -485,9 +485,13 @@ void cec_transmit_done(struct cec_adapter *adap, u8 status, u8 arb_lost_cnt,
dprintk(2, "cec_transmit_done %02x\n", status);
mutex_lock(&adap->lock);
data = adap->transmitting;
- if (WARN_ON(data == NULL)) {
- /* This is weird and should not happen. Ignore this transmit */
- dprintk(0, "cec_transmit_done without an ongoing transmit!\n");
+ if (data == NULL) {
+ /*
+ * This can happen if a transmit was issued and the cable is
+ * unplugged while the transmit is ongoing. Ignore this
+ * transmit in that case.
+ */
+ dprintk(1, "cec_transmit_done without an ongoing transmit!\n");
goto unlock;
}