mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-22 12:44:11 +08:00
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>
This commit is contained in:
parent
742aa6c563
commit
a8f00589be
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user