scsi: ufs: Power off hook for Cadence UFS driver
PATCH 1/1 scsi: ufs: Power off hook for Cadence UFS driver
Attach Power off hook on Cadence UFS driver
Signed-off-by Sheeba B <[email protected]>
--- drivers/scsi/ufs/cdns-pltfrm.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/ufs/cdns-pltfrm.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
Quoted 5 lines
Attach Power off hook on Cadence UFS driver
Signed-off-by Sheeba B <[email protected]>
Reviewed-by Avri Altman <[email protected]>
Quoted 18 lines
--- drivers/scsi/ufs/cdns-pltfrm.c | 1 + 1 file changed, 1 insertion(+)drivers/scsi/ufs/cdns-pltfrm.c index renamed from drivers/scsi/ufs/cdns-pltfrm.c +0
-0
1c80f9633da6..56a6a1ed5ec2100644drivers/scsi/ufs/cdns-pltfrm.c +1
-1@@ -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
Hi Sheeba
Quoted 4 lines · Sheeba B
Attach Power off hook on Cadence UFS driver
Signed-off-by Sheeba B <[email protected]>
Reviewed-by Alim Akhtar <[email protected]>
Quoted 19 lines
--- drivers/scsi/ufs/cdns-pltfrm.c | 1 + 1 file changed, 1 insertion(+)drivers/scsi/ufs/cdns-pltfrm.c +1
-1@@ -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
Signature · 2 lines
Regards, Alim
Martin K. Petersen
AppliedSheeba,
Quoted 1 line
Attach Power off hook on Cadence UFS driver
Applied to 5.6/scsi-queue, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering