This commit is contained in:
purplerain 2023-07-10 00:10:46 +00:00
parent 2a351e0cdc
commit f57be82572
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
704 changed files with 20524 additions and 10572 deletions

View file

@ -176,7 +176,7 @@ dwiic_init(struct dwiic_softc *sc)
sc->tx_fifo_depth = tx_fifo_depth;
if (rx_fifo_depth > 1 && rx_fifo_depth < sc->rx_fifo_depth)
sc->rx_fifo_depth = rx_fifo_depth;
dwiic_write(sc, DW_IC_TX_TL, sc->tx_fifo_depth / 2);
dwiic_write(sc, DW_IC_RX_TL, 0);