diff options
author | David Thompson <davthompson@nvidia.com> | 2025-06-18 13:59:02 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-19 08:34:59 -0700 |
commit | e7ea5f5b1858ddb96b152584d5fe06e6fc623e89 (patch) | |
tree | bc41bcd99a045db6c1e38405e7aed017b0786c1e /rust/helpers/helpers.c | |
parent | 78bd03ee1f20a267d2c218884b66041b3508ac9c (diff) |
mlxbf_gige: return EPROBE_DEFER if PHY IRQ is not available
The message "Error getting PHY irq. Use polling instead"
is emitted when the mlxbf_gige driver is loaded by the
kernel before the associated gpio-mlxbf driver, and thus
the call to get the PHY IRQ fails since it is not yet
available. The driver probe() must return -EPROBE_DEFER
if acpi_dev_gpio_irq_get_by() returns the same.
Fixes: 6c2a6ddca763 ("net: mellanox: mlxbf_gige: Replace non-standard interrupt handling")
Signed-off-by: David Thompson <davthompson@nvidia.com>
Reviewed-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250618135902.346-1-davthompson@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions