commit | c1db6dab367913585c8eba5409bd9779c15ffa1e | [log] [tgz] |
---|---|---|
author | Zhikui Ren <zhikui.ren@intel.com> | Thu Jul 30 12:19:32 2020 -0700 |
committer | Zhikui Ren <zhikui.ren@intel.com> | Thu Jul 30 21:10:06 2020 +0000 |
tree | abe4cb068afaa1f6b2a63aaeee0c6a735adf3568 | |
parent | 53b8700fd18873cffe7ee70b2306e7c66b2f7037 [diff] |
fix error checking from i2c read return Correct data type to capture i2c read return so error can be detected correctly. Tested: Build and run the new code. No issues observed. Signed-off-by: Zhikui Ren <zhikui.ren@intel.com> Change-Id: Ie6bf9480f3bc43945adb39adb0d781df794e639e