diff options
| author | Mykola Kostenok <[email protected]> | 2021-06-03 17:28:27 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-06-16 15:47:52 +0000 |
| commit | 3d9907e181de05a32420db46b068b2557173a9f7 (patch) | |
| tree | ffedc1a76487eb7c8f5f892292eeaa6a0b1be605 /drivers/platform/surface/aggregator/controller.c | |
| parent | platform/surface: dtx: Add missing mutex_destroy() call in failure path (diff) | |
| download | kernel-3d9907e181de05a32420db46b068b2557173a9f7.tar.gz kernel-3d9907e181de05a32420db46b068b2557173a9f7.zip | |
platform/mellanox: mlxreg-hotplug: Revert "move to use request_irq by IRQF_NO_AUTOEN flag"
It causes mlxreg-hotplug probing failure: request_threaded_irq()
returns -EINVAL due to true value of condition:
((irqflags & IRQF_SHARED) && (irqflags & IRQF_NO_AUTOEN))
after flag "IRQF_NO_AUTOEN" has been added to:
err = devm_request_irq(&pdev->dev, priv->irq,
mlxreg_hotplug_irq_handler, IRQF_TRIGGER_FALLING
| IRQF_SHARED | IRQF_NO_AUTOEN,
"mlxreg-hotplug", priv);
This reverts commit bee3ecfed0fc ("platform/mellanox: mlxreg-hotplug: move
to use request_irq by IRQF_NO_AUTOEN flag").
Signed-off-by: Mykola Kostenok <[email protected]>
Acked-by: Vadim Pasternak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
