ig4 - Only enable interrupts when we want them. Otherwise keep mask at 0.
authorImre Vadász <imre@vdsz.com>
Sat, 18 Aug 2018 10:58:40 +0000 (12:58 +0200)
committerImre Vadász <imre@vdsz.com>
Sat, 18 Aug 2018 18:28:43 +0000 (20:28 +0200)
commitd7c855546f690f05cd952ead7f4f09313a428240
tree08568f0bd0bbb1444fb10e19c5c38167ac90463e
parentab1e5d7f1c9718cc7eb60cdc9299231cb9933a04
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.
sys/bus/smbus/ichiic/ig4_iic.c
sys/bus/smbus/ichiic/ig4_var.h