
13 Feb
2019
13 Feb
'19
10:36 a.m.
On Tue, Jan 22, 2019 at 9:14 AM Simon Glass sjg@chromium.org wrote:
At present this driver does not check whether it is able to actually communicate with the I2C controller. It prints a timeout message but still considers the probe to be successful.
To fix this, add some checking that the init succeeds.
Signed-off-by: Simon Glass sjg@chromium.org
drivers/i2c/designware_i2c.c | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com