diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2024-12-16 20:47:33 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-20 06:08:28 +0300 |
commit | 0c7469ee718e1dd929f52bfb142a7f6fb68f0765 (patch) | |
tree | 8250bc3138a8cb12cea2e501ea7d5a2e72b9ffae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5fde7edadea66eb2a71ab4ceef2cd8e5a0273da9 (diff) | |
download | linux-0c7469ee718e1dd929f52bfb142a7f6fb68f0765.tar.xz |
net: airoha: Fix error path in airoha_probe()
Do not run napi_disable() if airoha_hw_init() fails since Tx/Rx napi
has not been started yet. In order to fix the issue, introduce
airoha_qdma_stop_napi routine and remove napi_disable in
airoha_hw_cleanup().
Fixes: 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20241216-airoha_probe-error-path-fix-v2-1-6b10e04e9a5c@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions