i2c: tegra: Fix regression by implementing a dummy probe_chip() callback
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 11 Dec 2018 18:56:34 +0000 (19:56 +0100)
committerHeiko Schocher <hs@denx.de>
Wed, 12 Dec 2018 05:06:14 +0000 (06:06 +0100)
commit22ecff594d9248f0a63e191e31d48f417a946d75
treea117f5cf3760cf5a9e5193cc233f1b42990e6185
parentee168783ae889cf449cee36cc1e51e108a210ed4
i2c: tegra: Fix regression by implementing a dummy probe_chip() callback

Commit f32a8007ef0f ("dm: i2c: Make i2c_get_chip_for_busnum() fail if the
chip is not detected") introduced a regression for the NVIDIA Jetson TX2.

For some reason the xfer callback of the tegra i2c driver doesn't support
probing the I2C devices with a 0-length message.
Fixing the regression by providing a dummy implementation of probe_chip()
that does nothing.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/i2c/tegra186_bpmp_i2c.c