CHROMIUM: i2c: tegra: On error, reset from the ISR.

The T200 Manual says that after an i2c error, SW should reset the
peripheral.  From experimentation it appears that a write might
continue after an error if the peripheral isn't reset.  This race can
cause a XFER_COMPLETE after a nack.  Resetting from the ISR avoids
this.  Previously the reset wouldn't happen until xfer_msg was woken
by the completion.

BUG=chromium-os:22899
TEST= for loop writing an I2C command to the TPM on kaen.

Change-Id: I577b9fd3ee4a6efea24447dcaabd84839506a72f
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/12061
Reviewed-by: Olof Johansson <olofj@chromium.org>
1 file changed