summaryrefslogtreecommitdiff
path: root/drivers/soc/xilinx
diff options
context:
space:
mode:
authorNaman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com>2023-12-07 16:24:08 +0100
committerMichal Simek <michal.simek@amd.com>2023-12-13 16:55:15 +0100
commit87fda1acfc3b9048261799817ef749e6deb95724 (patch)
treee0dc68c979ff35176965913bb6d772208cba0bd6 /drivers/soc/xilinx
parent9c6724abf969251af53cdae525ad8100ec78d3c2 (diff)
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
Diffstat (limited to 'drivers/soc/xilinx')
-rw-r--r--drivers/soc/xilinx/zynqmp_power.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_power.c
index abcf7e883279..07d735b38b49 100644
--- a/drivers/soc/xilinx/zynqmp_power.c
+++ b/drivers/soc/xilinx/zynqmp_power.c
@@ -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;