Skip to content
Commit f32a8007 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Heiko Schocher
Browse files

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: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 65a97e7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment