Loading drivers/scsi/ufs/ufs-qcom.c +5 −0 Original line number Diff line number Diff line Loading @@ -1402,6 +1402,9 @@ static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba, int ret = 0; int res = 0; hba->ufs_stats.clk_hold.ctx = PWR_CHG_NOTIFY; ufshcd_hold(hba, false); if (!dev_req_params) { pr_err("%s: incoming dev_req_params is NULL\n", __func__); ret = -EINVAL; Loading Loading @@ -1492,6 +1495,8 @@ static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba, break; } out: hba->ufs_stats.clk_rel.ctx = PWR_CHG_NOTIFY; ufshcd_release(hba, false); return ret; } Loading drivers/scsi/ufs/ufshcd.h +1 −0 Original line number Diff line number Diff line Loading @@ -615,6 +615,7 @@ enum ufshcd_ctx { H8_EXIT_WORK, UIC_CMD_SEND, PWRCTL_CMD_SEND, PWR_CHG_NOTIFY, TM_CMD_SEND, XFR_REQ_COMPL, CLK_SCALE_WORK, Loading Loading
drivers/scsi/ufs/ufs-qcom.c +5 −0 Original line number Diff line number Diff line Loading @@ -1402,6 +1402,9 @@ static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba, int ret = 0; int res = 0; hba->ufs_stats.clk_hold.ctx = PWR_CHG_NOTIFY; ufshcd_hold(hba, false); if (!dev_req_params) { pr_err("%s: incoming dev_req_params is NULL\n", __func__); ret = -EINVAL; Loading Loading @@ -1492,6 +1495,8 @@ static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba, break; } out: hba->ufs_stats.clk_rel.ctx = PWR_CHG_NOTIFY; ufshcd_release(hba, false); return ret; } Loading
drivers/scsi/ufs/ufshcd.h +1 −0 Original line number Diff line number Diff line Loading @@ -615,6 +615,7 @@ enum ufshcd_ctx { H8_EXIT_WORK, UIC_CMD_SEND, PWRCTL_CMD_SEND, PWR_CHG_NOTIFY, TM_CMD_SEND, XFR_REQ_COMPL, CLK_SCALE_WORK, Loading