commit | ac9ab2457532e2f55e3fd698c041f34f8f9e97d9 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Fri Dec 07 14:50:38 2018 +0100 |
committer | Heiko Schocher <hs@denx.de> | Mon Dec 10 06:03:45 2018 +0100 |
tree | 7940a854e832cd363c39326d377679bd947707b7 | |
parent | d7e683ff401ca41c91d88f474bafe5ee4fb11fc1 [diff] |
dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected i2c_get_chip_for_busnum() really should check the presence of the chip on the bus. Most of the users of this function assume that this is done. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Heiko Schocher <hs@denx.de>