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

Commit 44127a12 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

qcom: pil: Disable proxy unvote IRQ in pil_boot failure path



Disable the proxy_unvote IRQ if pil_boot fails after making
the proxy votes for the subsystem.
Without this change, the next time pil_boot is called on the
subsystem, an IRQ ref-count mismatch happens on enable_irq.

Change-Id: Ia019df92fd1b49764d778c23b9d0c630e255a8a4
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 1b132ea0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -745,6 +745,8 @@ err_deinit_image:
	if (ret && desc->ops->deinit_image)
		desc->ops->deinit_image(desc);
err_boot:
	if (ret && desc->proxy_unvote_irq)
		disable_irq(desc->proxy_unvote_irq);
	pil_proxy_unvote(desc, ret);
release_fw:
	release_firmware(fw);