RE: [PATCH v2 1/6] scsi: ufs: Introduce ufshcd_get_pwr_dev_param

Avri Altman
2019-02-25T09:34:31Z

>
> From: Stanley Chu <stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
>
> 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>