Commit a8f00589 authored by Conor Dooley's avatar Conor Dooley

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: default avatarConor Dooley <conor.dooley@microchip.com>
parent 742aa6c5
...@@ -66,7 +66,9 @@ int mpfs_blocking_transaction(struct mpfs_sys_controller *sys_controller, struct ...@@ -66,7 +66,9 @@ int mpfs_blocking_transaction(struct mpfs_sys_controller *sys_controller, struct
*/ */
if (!wait_for_completion_timeout(&sys_controller->c, timeout)) { if (!wait_for_completion_timeout(&sys_controller->c, timeout)) {
ret = -EBADMSG; 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 { } else {
ret = 0; ret = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment