commit | 4803492835fa2b973f3606153afc182d946c617a | [log] [tgz] |
---|---|---|
author | Andreas Dannenberg <dannenberg@ti.com> | Tue Jan 07 13:15:53 2020 +0530 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Mon Jan 20 10:10:28 2020 +0530 |
tree | ab994d6c1548916a6ed88be89495bffda6837127 | |
parent | 7566e0417d6d6c5aa2541a691e64f6a60211a8b5 [diff] |
ti: common: board_detect: Handle EEPROM probe more gracefully Use dm_i2c_probe() rather than i2c_get_chip() when trying to access board-detection EEPROM devices. This has the advantage of more gracefully handling the case when the EEPROM is not present by allowing to exit the function early rather than failing and outputting an error message on the I2C transactions that follow. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>