The HDMI transmitter Sil902x driver displays a warning when it cannot
reset the device before any other instruction, but carries on without
exiting the probe() function.
If the needed reset pin is not yet available because the pinctrl
controllers are not set up and the reset fails with deferral error, try
to acquire the pin later on in order to allow proper initialization of the
Sil902 HDMI transmitter.
Signed-off-by: Cristina Ciocan <cristina-mihaela.ciocan@nxp.com>
ret = device_reset(&sii902x.client->dev);
if (ret)
dev_warn(&sii902x.client->dev, "No reset pin found\n");
+ if (ret == -EPROBE_DEFER)
+ return ret;
/* Set 902x in hardware TPI mode on and jump out of D3 state */
if (i2c_smbus_write_byte_data(sii902x.client, 0xc7, 0x00) < 0) {