Send STOP to clear bus when I2C encounters an error.
Send STOP to clear bus when I2C encounters an error.

Reading from a nonexistant/nonresponsive smart battery fails (as it should).
But then it leaves the i2c clock line low, so that subsequent i2cscan
commands fail too.

This change just sends a STOP to clear the bus when an i2c error occurs.

BUG=chromium:247037
BRANCH=none
TEST=none

Change-Id: I599bed7149ed3dd3748f1a939c2ea8fdf65e3d72
Signed-off-by: Bill Richardson <129945214b1d548d8e49b6c29c43094f8c78057f@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/57808
Reviewed-by: Randall Spangler <62698fdbb84d1779579ee80c3f39fac22017e5bc@chromium.org>

fourier49/BIZ_EC,akappy7/ChromeOS_EC_LED_Diagnostics,fourier49/BZ_DEV_EC,fourier49/BIZ_EC,longsleep/ec,thehobn/ec,md5555/ec,coreboot/chrome-ec,fourier49/BZ_DEV_EC,alterapraxisptyltd/chromium-ec,mtk09422/chromiumos-platform-ec,eatbyte/chromium-ec,fourier49/BIZ_EC,coreboot/chrome-ec,alterapraxisptyltd/chromium-ec,thehobn/ec,longsleep/ec,md5555/ec,akappy7/ChromeOS_EC_LED_Diagnostics,gelraen/cros-ec,longsleep/ec,alterapraxisptyltd/chromium-ec,md5555/ec,thehobn/ec,fourier49/BIZ_EC,gelraen/cros-ec,eatbyte/chromium-ec,fourier49/BZ_DEV_EC,coreboot/chrome-ec,akappy7/ChromeOS_EC_LED_Diagnostics,alterapraxisptyltd/chromium-ec,gelraen/cros-ec,coreboot/chrome-ec,fourier49/BZ_DEV_EC,eatbyte/chromium-ec,mtk09422/chromiumos-platform-ec,thehobn/ec,eatbyte/chromium-ec,akappy7/ChromeOS_EC_LED_Diagnostics,md5555/ec,akappy7/ChromeOS_EC_LED_Diagnostics,longsleep/ec,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,gelraen/cros-ec