Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bca39130 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAPDSS: TFP410: return EPROBE_DEFER if the i2c adapter not found



If the I2C adapter needed by the TFP410 device is not available yet,
return EPROBE_DEFER so that the device will get probed again.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 6aa66f5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ static int tfp410_probe(struct omap_dss_device *dssdev)
		if (!adapter) {
			dev_err(&dssdev->dev, "Failed to get I2C adapter, bus %d\n",
					i2c_bus_num);
			return -EINVAL;
			return -EPROBE_DEFER;
		}

		ddata->i2c_adapter = adapter;