diff options
author | Sheeba B | 2019-12-16 11:17:12 +0100 |
---|---|---|
committer | Martin K. Petersen | 2019-12-19 22:08:54 -0500 |
commit | 0786669c31c91549bd910a9f90553491fc3f256a (patch) | |
tree | f52634a0a7373e251fd8d41848e8e8f2b98fd367 /drivers/scsi/ufs/cdns-pltfrm.c | |
parent | 8b0bbf002a1eb9074ab770e21cd454137c76c106 (diff) |
scsi: ufs: Power off hook for Cadence UFS driver
Attach power off hook to Cadence UFS driver.
Link: https://lore.kernel.org/r/1576491432-631-1-git-send-email-sheebab@cadence.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Sheeba B <sheebab@cadence.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/cdns-pltfrm.c')
-rw-r--r-- | drivers/scsi/ufs/cdns-pltfrm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |