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

From: Avri Altman
Date: Wed Dec 18 2019 - 02:08:29 EST



>
> Attach Power off hook on Cadence UFS driver
>
> Signed-off-by: Sheeba B <sheebab@xxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

> ---
> 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