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

Commit 54aece5c authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian Committed by Maulik Shah
Browse files

qos: Do not add qos request for invalid IRQ



IRQ description object could be NULL if the IRQ is invalid.
Ignore the qos value as it cannot be associated with the requested irq.

Change-Id: I82fdc9b10ffff89032a0f0e9dade42e4c670f4b9
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent 471c3f2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -601,7 +601,7 @@ void pm_qos_add_request(struct pm_qos_request *req,
			struct cpumask *mask;

			if (!desc)
				break;
				return;

			mask = desc->irq_data.common->affinity;