Skip to content
Commit a064e0c7 authored by Nikita Yushchenko's avatar Nikita Yushchenko Committed by Tom Rini
Browse files

ti: i2c: fix probe_chip() return value



Per documentation, dm_i2c_ops.probe_chip() shall return -EREMOTEIO if
probe fails.

Currently, omap_i2c_probe_chip() returns 1 instead. Fix that.

Signed-off-by: default avatarNikita Yushchenko <nikita.yoush@cogentembedded.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 829b4117
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