[v2 PATCH 3/3] scsi:stex.c Add S3/S4 support

2016-02-22 Thread Charles Chiou
From: Charles Add S3/S4 support, add .suspend and .resume function in pci_driver. In .suspend handler, driver send S3/S4 signal to the device. Signed-off-by: Charles Chiou Reviewed-by: Johannes Thumshirn --- drivers/scsi/stex.c | 68 ++--- 1 fil

Re: [Resend PATCH 3/3] scsi:stex.c Add S3/S4 support

2016-02-21 Thread Charles Chiou
Hi Oliver, sure, we'll fix it at the next patch version. Thank you. Charles On 02/04/2016 07:37 PM, Oliver Neukum wrote: On Thu, 2016-02-04 at 19:22 +0800, Charles Chiou wrote: +static int stex_choice_sleep_mic(pm_message_t state) +{ +switch (state.event) { +case PM_EVENT_SUSPEND: +

Re: [Resend PATCH 3/3] scsi:stex.c Add S3/S4 support

2016-02-04 Thread Oliver Neukum
On Thu, 2016-02-04 at 19:22 +0800, Charles Chiou wrote: > +static int stex_choice_sleep_mic(pm_message_t state) > +{ > +switch (state.event) { > +case PM_EVENT_SUSPEND: > +return ST_S3; > +case PM_EVENT_FREEZE: Why do you react to PM_EVENT_FREEZE at all? That is too early. You

[Resend PATCH 3/3] scsi:stex.c Add S3/S4 support

2016-02-04 Thread Charles Chiou
From f442518879f8f41d103b684046d912eca13844e7 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 2 Sep 2015 20:54:45 +0800 Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support Add S3/S4 support, add .suspend and .resume function in pci_driver. In .suspend handler, driver send S3/S4 signal to the

Re: [PATCH 3/3] scsi:stex.c Add S3/S4 support

2016-01-29 Thread Charles Chiou
3/3] scsi:stex.c Add S3/S4 support Add S3/S4 support, add .suspend and .resume function in pci_driver. In .suspend handler, driver send S3/S4 signal to the device. V2: Remove blank lines Signed-off-by: Charles Chiou --- drivers/scsi/stex.c | 59

Re: [PATCH 3/3] scsi:stex.c Add S3/S4 support

2015-09-03 Thread Johannes Thumshirn
Charles Chiou writes: > From f442518879f8f41d103b684046d912eca13844e7 Mon Sep 17 00:00:00 2001 > From: Charles > Date: Wed, 2 Sep 2015 20:54:45 +0800 > Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support > > Add S3/S4 support, add .suspend and .resume function in pci_dri

[PATCH 3/3] scsi:stex.c Add S3/S4 support

2015-09-03 Thread Charles Chiou
From f442518879f8f41d103b684046d912eca13844e7 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 2 Sep 2015 20:54:45 +0800 Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support Add S3/S4 support, add .suspend and .resume function in pci_driver. In .suspend handler, driver send S3/S4 signal to the

Re: [PATCH 3/3] scsi:stex.c Add S3/S4 support

2015-09-02 Thread Johannes Thumshirn
Charles Chiou writes: > From 7d98f8c500de452277e2700a950b23bf4685ed64 Mon Sep 17 00:00:00 2001 > From: Charles > Date: Wed, 2 Sep 2015 20:54:45 +0800 > Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support > > Add S3/S4 support, add .suspend and .resume function in pci_dri

[PATCH 3/3] scsi:stex.c Add S3/S4 support

2015-09-02 Thread Charles Chiou
From 7d98f8c500de452277e2700a950b23bf4685ed64 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 2 Sep 2015 20:54:45 +0800 Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support Add S3/S4 support, add .suspend and .resume function in pci_driver. In .suspend handler, driver send S3/S4 signal to the