diff options
author | Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> | 2023-12-07 18:24:08 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-12-13 18:55:15 +0300 |
commit | 87fda1acfc3b9048261799817ef749e6deb95724 (patch) | |
tree | e0dc68c979ff35176965913bb6d772208cba0bd6 /drivers/soc/xilinx/zynqmp_power.c | |
parent | 9c6724abf969251af53cdae525ad8100ec78d3c2 (diff) | |
download | linux-87fda1acfc3b9048261799817ef749e6deb95724.tar.xz |
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/zynqmp_power.c')
-rw-r--r-- | drivers/soc/xilinx/zynqmp_power.c | 2 |
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; |