Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d502efe0 authored by Yaniv Gardi's avatar Yaniv Gardi Committed by David Keitel
Browse files

scsi: ufs: fix parameter type from bool to enum ufs_notify_change_status



This change fixes the signature of the routine
ufshcd_vops_clk_scale_notify() and the callback clk_scale_notify
to receive enum ufs_notify_change_status instead of bool as their 3rd
parameter.

Change-Id: I8463f4f5f0a77bcbc3b0bcdfd05d1a02e334dc8e
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent cb90b9b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1953,7 +1953,7 @@ static int ufs_qcom_clk_scale_down_post_change(struct ufs_hba *hba)
}

static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba,
				      bool scale_up, bool status)
		bool scale_up, enum ufs_notify_change_status status)
{
	struct ufs_qcom_host *host = ufshcd_get_variant(hba);
	struct ufs_pa_layer_attr *dev_req_params = &host->dev_req_params;