Re: [PATCH v1] staging: sm750fb: use generic power management

2020-07-28 Thread Vaibhav Gupta
This patch is compile-tested only Thanks Vaibhav Gupta ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v1] staging: sm750fb: use generic power management

2020-07-28 Thread Vaibhav Gupta
e-specific jobs. Signed-off-by: Vaibhav Gupta --- drivers/staging/sm750fb/sm750.c | 91 ++--- 1 file changed, 17 insertions(+), 74 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index a1a82e59dfee..84fb585a5739 100644 ---

[PATCH v2 2/4] staging/rtl8192e: use generic power management

2020-06-29 Thread Vaibhav Gupta
-by: Vaibhav Gupta --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 5 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 26 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_pm.h | 4 +-- 3 files changed, 12 insertions(+), 23 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e

[PATCH v2 0/4] drivers/staging: use generic power management

2020-06-29 Thread Vaibhav Gupta
. pci_set_master() function call in drivers/staging/qlge/qlge_main.c, inside qlge_resume(), was passing argument which got deprecated after upgrade to generic PM. The error is fixed in v2. Vaibhav Gupta (4): qlge/qlge_main.c: use generic power management staging/rtl8192e: use generic power management

[PATCH v2 3/4] rts5208/rtsx.c: use generic power management

2020-06-29 Thread Vaibhav Gupta
essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drivers/staging/rts5208/rtsx.c | 30

[PATCH v2 1/4] qlge/qlge_main.c: use generic power management

2020-06-29 Thread Vaibhav Gupta
essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drivers/staging/qlge/qlge_main.c | 38

[PATCH v2 4/4] vt6655/device_main.c: use generic power management

2020-06-29 Thread Vaibhav Gupta
essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drivers/staging/vt6655/device_main.c | 25

Re: [PATCH v1 1/4] qlge/qlge_main.c: use genric power management

2020-06-29 Thread Vaibhav Gupta
ng git tree, kindly drop us a note. > And when submitting patch, we suggest to use as documented in > https://git-scm.com/docs/git-format-patch] > > url: > https://github.com/0day-ci/linux/commits/Vaibhav-Gupta/drivers-staging-use-generic-power-management/20200629-163141 > ba

[PATCH v1 3/4] rts5208/rtsx.c: use generic power management

2020-06-29 Thread Vaibhav Gupta
essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drivers/staging/rts5208/rtsx.c | 30

[PATCH v1 2/4] staging/rtl8192e: use generic power management

2020-06-29 Thread Vaibhav Gupta
-by: Vaibhav Gupta --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 5 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 26 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_pm.h | 4 +-- 3 files changed, 12 insertions(+), 23 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e

[PATCH v1 4/4] vt6655/device_main.c: use generic power management

2020-06-29 Thread Vaibhav Gupta
essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drivers/staging/vt6655/device_main.c | 25

[PATCH v1 1/4] qlge/qlge_main.c: use genric power management

2020-06-29 Thread Vaibhav Gupta
essentials will be handled by the PCI core. Driver needs to do only device-specific operations. The driver was also using pci_enable_wake(...,..., 0) to disable wake. Use device_wakeup_disable() instead. Compile-tested only. Signed-off-by: Vaibhav Gupta --- drivers/staging/qlge/qlge_main.c | 36

[PATCH v1 0/4] drivers/staging: use generic power management

2020-06-29 Thread Vaibhav Gupta
the power management themselves, which is not recommended. The conversion requires the removal of the those function calls and change the callback definition accordingly and make use of dev_pm_ops structure. All patches are compile-tested only. Vaibhav Gupta (4): qlge/qlge_main.c: use genric