From: Heiko Schocher Date: Mon, 10 Dec 2018 06:02:30 +0100 Subject: [U-Boot] [RESEND PATCH v3 02/19] dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected In-Reply-To: <1544190655-4405-3-git-send-email-jjhiblot@ti.com> References: <1544190655-4405-1-git-send-email-jjhiblot@ti.com> <1544190655-4405-3-git-send-email-jjhiblot@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Jean-Jacques, Am 07.12.2018 um 14:50 schrieb Jean-Jacques Hiblot: > 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 > > --- > > Changes in v3: > - removed commit introducing dm_i2c_probe_device(). Instead probe the > presence of the chip on the I2C bus in i2c_get_chip_for_busnum(). > > Changes in v2: None > > drivers/i2c/i2c-uclass.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) Thanks for resending! Reviewed-by: Heiko Schocher bye, Heiko Schocher -- 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: hs at denx.de