Re: [RFC 1/3] imx258: Defer probing on ident register read fail (on ACPI)
From: Sakari Ailus <sakari.ailus@linux.intel.com>
Date: 2021-08-20 12:28:41
Also in:
linux-media
From: Sakari Ailus <sakari.ailus@linux.intel.com>
Date: 2021-08-20 12:28:41
Also in:
linux-media
On Fri, Aug 20, 2021 at 03:20:55PM +0300, Andy Shevchenko wrote:
On Thu, Aug 19, 2021 at 11:19:34PM +0300, Sakari Ailus wrote:quoted
Return -EPROBE_DEFER if probing the device fails because of the I²C transaction (-EIO only). This generally happens when the power on sequence of the device has not been fully performed yet due to later probing of other drivers....quoted
+ if (ret == -EIO && is_acpi_device_node(dev_fwnode(&client->dev))) {has_acpi_companion() is better to have here, no?
Agreed. -- Sakari Ailus