mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-24 10:49:54 +02: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user