diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2026-03-21 15:41:44 +0100 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-03-24 13:40:05 +0100 |
| commit | b1c803d5c8167026791abfaed96fd3e6a1fcd750 (patch) | |
| tree | d70ff5e0d9ad18fa0058e65fb407e352b2af3fa8 /include/linux/input | |
| parent | a4b908c89d88d4b7251c566457979c4167b9664c (diff) | |
net: airoha: Rework the code flow in airoha_remove() and in airoha_probe() error path
As suggested by Simon in [0], rework the code flow in airoha_remove()
and in the airoha_probe() error path in order to rely on a more common
approach un-registering configured net-devices first and destroying the
hw resources at the end of the code.
Introduce airoha_qdma_cleanup routine to release QDMA resources.
[0] https://lore.kernel.org/netdev/20251214-airoha-fix-dev-registration-v1-1-860e027ad4c6@kernel.org/
Suggested-by: Simon Horman <horms@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260321-airoha-remove-rework-v2-1-16c7bade5fe5@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
