Skip to content
Commit 8dacd0f8 authored by Tim Lin's avatar Tim Lin Committed by Christopher Friedt
Browse files

ITE: drivers/i2c: returning negative values for error



Fixes: #38959

Currently, the I2C driver returns I2C status register value as error
code when error happen. This PR fixes returning system number and
the return values is negative for error.

Signed-off-by: default avatarTim Lin <tim2.lin@ite.corp-partner.google.com>
parent 2d0d0936
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment