Displaying 1 result from an estimated 1 matches for "snet_free_irq".
Did you mean:
snet_free_irqs
2023 Feb 09
1
[PATCH] vdpa: snet: clear dpu_ready flag on reset
...file changed, 1 insertion(+)
diff --git a/drivers/vdpa/solidrun/snet_main.c b/drivers/vdpa/solidrun/snet_main.c
index 0c13ccde4520..68de727398ed 100644
--- a/drivers/vdpa/solidrun/snet_main.c
+++ b/drivers/vdpa/solidrun/snet_main.c
@@ -255,6 +255,7 @@ static int snet_reset_dev(struct snet *snet)
snet_free_irqs(snet);
/* Reset status */
snet->status = 0;
+ snet->dpu_ready = false;
if (ret)
SNET_WARN(pdev, "Incomplete reset to SNET[%u] device\n", snet->sid);
--
2.34.1