soc: xilinx: Add error message for invalid payload received from IPI callback.

payload[0] of response buffer of zynqmp_pm_get_callback_data()
contains valid payload or error code in case of error.

Added error message to inform user about the error code received in
payload[0].

Signed-off-by: Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/85749bde3e71148533d31ea2092f4514ec347768.1701962639.git.michal.simek@amd.com
This commit is contained in:
Naman Trivedi Manojbhai 2023-12-07 16:24:08 +01:00 committed by Michal Simek
parent 9c6724abf9
commit 87fda1acfc

View File

@ -86,6 +86,8 @@ static irqreturn_t zynqmp_pm_isr(int irq, void *data)
pr_err("%s Unsupported InitSuspendCb reason code %d\n",
__func__, payload[1]);
}
} else {
pr_err("%s() Unsupported Callback %d\n", __func__, payload[0]);
}
return IRQ_HANDLED;