RE: [EXT] [PATCH v6 1/7] scsi: ufs: Introduce ufshcd_get_pwr_dev_param

Bean Huo (beanhuo)
2019-03-18T09:13:42Z

This patch absolutely needed.

>Subject: [EXT] [PATCH v6 1/7] scsi: ufs: Introduce ufshcd_get_pwr_dev_param
>
>ufshcd_get_pwr_dev_param is for vendors to decide finally agreed attributes
>for power mode change if vendors define their host capability in struct
>ufs_dev_params.
>
>This api is using by both ufs-qcom and ufs-hisi now. Simply re-factor it and
>then every vendors can reuse it.
>
>Signed-off-by: Stanley Chu <stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
>Reviewed-by: Avri Altman <avri.altman-Sjgp3cTcYWE@public.gmane.org>
Acked-by: Bean Huo <beanhuo-AL4WhLSQfzjQT0dZR+AlfA@public.gmane.org>