linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode()
@ 2021-03-11  4:28 Yue Hu
  2021-03-25  2:26 ` Martin K. Petersen
  2021-03-30  3:54 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Hu @ 2021-03-11  4:28 UTC (permalink / raw)
  To: martin.petersen, krzk, kwmad.kim, alim.akhtar, avri.altman,
	linux-samsung-soc
  Cc: linux-scsi, huyue2, zbestahu, zhangwen

From: Yue Hu <huyue2@yulong.com>

We don't care pwr_max for post change of power mode.

Signed-off-by: Yue Hu <huyue2@yulong.com>
---
 drivers/scsi/ufs/ufs-exynos.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c
index 267943a1..70647ea 100644
--- a/drivers/scsi/ufs/ufs-exynos.c
+++ b/drivers/scsi/ufs/ufs-exynos.c
@@ -652,7 +652,6 @@ static int exynos_ufs_pre_pwr_mode(struct ufs_hba *hba,
 
 #define PWR_MODE_STR_LEN	64
 static int exynos_ufs_post_pwr_mode(struct ufs_hba *hba,
-				struct ufs_pa_layer_attr *pwr_max,
 				struct ufs_pa_layer_attr *pwr_req)
 {
 	struct exynos_ufs *ufs = ufshcd_get_variant(hba);
@@ -1155,7 +1154,7 @@ static int exynos_ufs_pwr_change_notify(struct ufs_hba *hba,
 					      dev_req_params);
 		break;
 	case POST_CHANGE:
-		ret = exynos_ufs_post_pwr_mode(hba, NULL, dev_req_params);
+		ret = exynos_ufs_post_pwr_mode(hba, dev_req_params);
 		break;
 	}
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode()
  2021-03-11  4:28 [PATCH] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode() Yue Hu
@ 2021-03-25  2:26 ` Martin K. Petersen
  2021-03-30  3:54 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-03-25  2:26 UTC (permalink / raw)
  To: Yue Hu
  Cc: martin.petersen, krzk, kwmad.kim, alim.akhtar, avri.altman,
	linux-samsung-soc, linux-scsi, huyue2, zbestahu, zhangwen


Yue,

> We don't care pwr_max for post change of power mode.

Applied to 5.13/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode()
  2021-03-11  4:28 [PATCH] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode() Yue Hu
  2021-03-25  2:26 ` Martin K. Petersen
@ 2021-03-30  3:54 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-03-30  3:54 UTC (permalink / raw)
  To: alim.akhtar, avri.altman, Yue Hu, kwmad.kim, krzk, linux-samsung-soc
  Cc: Martin K . Petersen, zhangwen, huyue2, linux-scsi, zbestahu

On Thu, 11 Mar 2021 12:28:33 +0800, Yue Hu wrote:

> We don't care pwr_max for post change of power mode.

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode()
      https://git.kernel.org/mkp/scsi/c/dfd35e1d5934

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-30  3:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  4:28 [PATCH] scsi: ufs: ufs-exynos: Remove pwr_max from parameters list of exynos_ufs_post_pwr_mode() Yue Hu
2021-03-25  2:26 ` Martin K. Petersen
2021-03-30  3:54 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).