i2c: tegra: proper handling of error cases