02f0bf2a | 18-Aug-2018 |
Imre Vadász <imre@vdsz.com> |
ig4 - We actually need to set the Rx threshold register one smaller.
* Setting the IG4_REG_RX_TL register to 1 was actually generating an interrupt after 2 bytes were available in the Rx fifo. We
ig4 - We actually need to set the Rx threshold register one smaller.
* Setting the IG4_REG_RX_TL register to 1 was actually generating an interrupt after 2 bytes were available in the Rx fifo. We need to set the register to 0 to get an interrupt for 1 byte already.
show more ...
|
d7c85554 | 18-Aug-2018 |
Imre Vadász <imre@vdsz.com> |
ig4 - Only enable interrupts when we want them. Otherwise keep mask at 0.
* This avoids possible interrupt storms, depending on the state of the I2C controller before the driver attached.
* Durin
ig4 - Only enable interrupts when we want them. Otherwise keep mask at 0.
* This avoids possible interrupt storms, depending on the state of the I2C controller before the driver attached.
* During attaching this clears the interrupt mask.
show more ...
|