Commit a8f00589 authored by Conor Dooley's avatar Conor Dooley
Browse files

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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
	}