Hello Baruch,

Am 05.08.2019 um 08:03 schrieb Baruch Siach:
Read a single byte from EEPROM to verify that it is actually there.

This is equivalent to Linux kernel commit 00f0ea70d2b8 ("eeprom: at24:
check if the chip is functional in probe()").

Cc: Bartosz Golaszewski <bgolaszew...@baylibre.com>
Signed-off-by: Baruch Siach <bar...@tkos.co.il>
---
  drivers/misc/i2c_eeprom.c | 8 ++++++++
  1 file changed, 8 insertions(+)

after fixed style check prefer kernel type 'u8' over 'uint8_t'

applied to u-boot-i2c master

Thanks!

bye,
Heiko
--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to