mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
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:
parent
9c6724abf9
commit
87fda1acfc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user