diff options
author | 2024-05-06 19:24:46 +0000 | |
---|---|---|
committer | 2024-05-10 01:08:03 +0300 | |
commit | 05b0b07953b7630705e364fe342689c9af340b32 (patch) | |
tree | 91a7ab9112183889dab7323639d80a08250003c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: bcm2835-unicam: Convert to platform remove callback returning void (diff) | |
download | wireguard-linux-05b0b07953b7630705e364fe342689c9af340b32.tar.xz wireguard-linux-05b0b07953b7630705e364fe342689c9af340b32.zip |
media: bcm2835-unicam: Do not replace IRQ retcode during probe
platform_get_irq() cannot return the value 0. It will either return a non-zero
irq or a errcode.
If a errcode is returned, we need to populate the error code upwards. It will
give a more accurate reason of why it failed to the caller, who might decide
to retry later.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240506-fix-broad-v2-1-e6a2a5c0d609@chromium.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions