Skip to content

Commit a8f0058

Browse files
committed
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>
1 parent 742aa6c commit a8f0058

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/soc/microchip/mpfs-sys-controller.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ int mpfs_blocking_transaction(struct mpfs_sys_controller *sys_controller, struct
6666
*/
6767
if (!wait_for_completion_timeout(&sys_controller->c, timeout)) {
6868
ret = -EBADMSG;
69-
dev_warn(sys_controller->client.dev, "MPFS sys controller service failed\n");
69+
dev_warn(sys_controller->client.dev,
70+
"MPFS sys controller service failed with status: %d\n",
71+
msg->response->resp_status);
7072
} else {
7173
ret = 0;
7274
}

0 commit comments

Comments
 (0)