|
@@ -1232,6 +1232,7 @@ int cnss_enable_dev_sol_irq(struct cnss_plat_data *plat_priv)
|
|
|
if (sol_gpio->dev_sol_gpio < 0 || sol_gpio->dev_sol_irq <= 0)
|
|
|
return 0;
|
|
|
|
|
|
+ enable_irq(sol_gpio->dev_sol_irq);
|
|
|
ret = enable_irq_wake(sol_gpio->dev_sol_irq);
|
|
|
if (ret)
|
|
|
cnss_pr_err("Failed to enable device SOL as wake IRQ, err = %d\n",
|
|
@@ -1252,6 +1253,7 @@ int cnss_disable_dev_sol_irq(struct cnss_plat_data *plat_priv)
|
|
|
if (ret)
|
|
|
cnss_pr_err("Failed to disable device SOL as wake IRQ, err = %d\n",
|
|
|
ret);
|
|
|
+ disable_irq(sol_gpio->dev_sol_irq);
|
|
|
|
|
|
return ret;
|
|
|
}
|