diff options
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2020-11-02 19:47:05 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-11-26 07:14:29 +0300 |
commit | 7dd2222180762656ccaf9e42ecc289f59fd43bc4 (patch) | |
tree | 66b27f66843e0dea9043635213a4a8a09a27f23f /drivers/scsi/aic7xxx | |
parent | 498854102c1c14af20941c20d8ca996bdcf116f4 (diff) | |
download | linux-7dd2222180762656ccaf9e42ecc289f59fd43bc4.tar.xz |
scsi: aacraid: Drop pci_enable_wake() from .resume
The driver calls pci_enable_wake(...., false) in aac_resume(), and there is
no corresponding pci_enable_wake(...., true) in aac_suspend(). Either it
should do enable-wake the device in .suspend() or should not invoke
pci_enable_wake() at all.
Concluding that this is a bug and PCI core calls pci_enable_wake(pci_dev,
PCI_D0, false) during resume, drop it from aac_resume().
Link: https://lore.kernel.org/r/20201102164730.324035-5-vaibhavgupta40@gmail.com
Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic7xxx')
0 files changed, 0 insertions, 0 deletions