Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a06deb23 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: bgcom: remove irq disable and enable on suspend resume"

parents e0da3764 04df3cbe
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1078,7 +1078,6 @@ static int bgcom_pm_suspend(struct device *dev)
	if (ret == 0) {
		bg_spi->bg_state = BGCOM_STATE_SUSPEND;
		atomic_set(&bg_is_spi_active, 0);
		disable_irq(bg_irq);
	}
	pr_info("suspended with : %d\n", ret);
	return ret;
@@ -1094,8 +1093,6 @@ static int bgcom_pm_resume(struct device *dev)
	clnt_handle.bg_spi = spi;
	atomic_set(&bg_is_spi_active, 1);
	ret = bgcom_resume(&clnt_handle);
	if (ret == 0)
		enable_irq(bg_irq);
	pr_info("Bgcom resumed with : %d\n", ret);
	return ret;
}