mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
04622a7f21
commit
aeacf172fd
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue