summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2023-10-20 14:18:41 +0100
committerConor Dooley <conor.dooley@microchip.com>2023-12-06 12:06:18 +0000
commita8f00589be7b9dfeae801bd3087ec7da57c1913e (patch)
tree882701a455ade9ececfc77cb3c6eb497a3389881 /drivers/soc
parent742aa6c563d29c367edbf0ef7236a7a853ed9be4 (diff)
soc: microchip: mpfs: print service status in warning message
Now that resp_status is set for failed services, print the status in the error path's warning. Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/microchip/mpfs-sys-controller.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/soc/microchip/mpfs-sys-controller.c b/drivers/soc/microchip/mpfs-sys-controller.c
index c7e063993d92..d438efde3278 100644
--- a/drivers/soc/microchip/mpfs-sys-controller.c
+++ b/drivers/soc/microchip/mpfs-sys-controller.c
@@ -66,7 +66,9 @@ int mpfs_blocking_transaction(struct mpfs_sys_controller *sys_controller, struct
*/
if (!wait_for_completion_timeout(&sys_controller->c, timeout)) {
ret = -EBADMSG;
- dev_warn(sys_controller->client.dev, "MPFS sys controller service failed\n");
+ dev_warn(sys_controller->client.dev,
+ "MPFS sys controller service failed with status: %d\n",
+ msg->response->resp_status);
} else {
ret = 0;
}