* [PATCH] scsi: ufs: Power off hook for Cadence UFS driver
@ 2019-12-16 10:17 Sheeba B
2019-12-18 7:08 ` Avri Altman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sheeba B @ 2019-12-16 10:17 UTC (permalink / raw)
To: alim.akhtar, avri.altman, jejb, martin.petersen, stanley.chu,
beanhuo, yuehaibing, linux-scsi, linux-kernel, vigneshr
Cc: rafalc, mparab, Sheeba B
Attach Power off hook on Cadence UFS driver
Signed-off-by: Sheeba B <sheebab@cadence.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] scsi: ufs: Power off hook for Cadence UFS driver
2019-12-16 10:17 [PATCH] scsi: ufs: Power off hook for Cadence UFS driver Sheeba B
@ 2019-12-18 7:08 ` Avri Altman
2019-12-19 18:02 ` Alim Akhtar
2019-12-19 23:07 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Avri Altman @ 2019-12-18 7:08 UTC (permalink / raw)
To: Sheeba B, alim.akhtar, jejb, martin.petersen, stanley.chu,
beanhuo, yuehaibing, linux-scsi, linux-kernel, vigneshr
Cc: rafalc, mparab
>
> Attach Power off hook on Cadence UFS driver
>
> Signed-off-by: Sheeba B <sheebab@cadence.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: ufs: Power off hook for Cadence UFS driver
2019-12-16 10:17 [PATCH] scsi: ufs: Power off hook for Cadence UFS driver Sheeba B
2019-12-18 7:08 ` Avri Altman
@ 2019-12-19 18:02 ` Alim Akhtar
2019-12-19 23:07 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Alim Akhtar @ 2019-12-19 18:02 UTC (permalink / raw)
To: Sheeba B
Cc: Alim Akhtar, Avri Altman, James E.J. Bottomley,
Martin K. Petersen, Stanley Chu, Bean Huo (beanhuo),
yuehaibing, linux-scsi, open list, Vignesh Raghavendra, rafalc,
mparab
Hi Sheeba
On Mon, Dec 16, 2019 at 4:55 PM Sheeba B <sheebab@cadence.com> wrote:
>
> Attach Power off hook on Cadence UFS driver
>
> Signed-off-by: Sheeba B <sheebab@cadence.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: ufs: Power off hook for Cadence UFS driver
2019-12-16 10:17 [PATCH] scsi: ufs: Power off hook for Cadence UFS driver Sheeba B
2019-12-18 7:08 ` Avri Altman
2019-12-19 18:02 ` Alim Akhtar
@ 2019-12-19 23:07 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2019-12-19 23:07 UTC (permalink / raw)
To: Sheeba B
Cc: alim.akhtar, avri.altman, jejb, martin.petersen, stanley.chu,
beanhuo, yuehaibing, linux-scsi, linux-kernel, vigneshr, rafalc,
mparab
Sheeba,
> Attach Power off hook on Cadence UFS driver
Applied to 5.6/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-12-19 23:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 10:17 [PATCH] scsi: ufs: Power off hook for Cadence UFS driver Sheeba B
2019-12-18 7:08 ` Avri Altman
2019-12-19 18:02 ` Alim Akhtar
2019-12-19 23:07 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).