Re: [PATCH] scsi: ufs: Power off hook for Cadence UFS driver

From: Alim Akhtar
Date: Thu Dec 19 2019 - 13:02:47 EST


Hi Sheeba

On Mon, Dec 16, 2019 at 4:55 PM Sheeba B <sheebab@xxxxxxxxxxx> wrote:
>
> Attach Power off hook on Cadence UFS driver
>
> Signed-off-by: Sheeba B <sheebab@xxxxxxxxxxx>

Reviewed-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>

> ---
> drivers/scsi/ufs/cdns-pltfrm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c
> index 1c80f9633da6..56a6a1ed5ec2 100644
> --- a/drivers/scsi/ufs/cdns-pltfrm.c
> +++ b/drivers/scsi/ufs/cdns-pltfrm.c
> @@ -325,6 +325,7 @@ static const struct dev_pm_ops cdns_ufs_dev_pm_ops = {
> static struct platform_driver cdns_ufs_pltfrm_driver = {
> .probe = cdns_ufs_pltfrm_probe,
> .remove = cdns_ufs_pltfrm_remove,
> + .shutdown = ufshcd_pltfrm_shutdown,
> .driver = {
> .name = "cdns-ufshcd",
> .pm = &cdns_ufs_dev_pm_ops,
> --
> 2.17.1
>


--
Regards,
Alim