summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2025-06-23 13:00:33 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2025-06-30 09:06:21 +0200
commit826f6fd67691861b3dc2cbbd1ea7c8bbb5bfe1b2 (patch)
tree1362bd231403f36d16782233e9ac820d318b978f /scripts/gdb/linux/utils.py
parent76f0c8244692b49bf80abe66b678e04f62b9900a (diff)
media: ov7251: Improve error logging when fwnode is not found
The ov7251 driver waits for the endpoint fwnode to show up in case this fwnode is created by a bridge-driver. It does this by returning -EPROBE_DEFER, but it does not use dev_err_probe() so no reason for deferring gets registered. After 30 seconds the kernel logs a warning that the probe is still deferred, which looks like this: [ 33.952052] i2c i2c-INT347E:00: deferred probe pending: (reason unknown) Use dev_err_probe() when returning -EPROBE_DEFER to register the probe deferral reason changing the error to: deferred probe pending: waiting for fwnode graph endpoint Also update the comment to not refer to the no longer existing cio2-bridge code. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions