twsi: remove redundant write of control register

The write at the end of twsi_intr() already handles all cases, no need
to have another write for TWSI_STATUS_START / TWSI_STATUS_RPTD_START.

MFC after:	3 weeks
This commit is contained in:
Andriy Gapon 2021-11-26 10:09:59 +02:00
parent 04622a7f21
commit aeacf172fd

View file

@ -591,7 +591,6 @@ twsi_intr(void *arg)
else
TWSI_WRITE(sc, sc->reg_data,
sc->msgs[sc->msg_idx].slave & ~LSB);
TWSI_WRITE(sc, sc->reg_control, sc->control_val);
break;
case TWSI_STATUS_ADDR_W_ACK: