summaryrefslogtreecommitdiff
path: root/drivers/scsi/virtio_scsi.c
diff options
context:
space:
mode:
authorTyler Stachecki <tstache1@binghamton.edu>2014-04-25 20:41:04 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2014-04-28 14:49:25 (GMT)
commitaf61e27c3f77c7623b5335590ae24b6a5c323e22 (patch)
treea80fa6fb7eb32a5ac291dfbe75f4c12906a40beb /drivers/scsi/virtio_scsi.c
parentd1db0eea852497762cab43b905b879dfcd3b8987 (diff)
downloadlinux-af61e27c3f77c7623b5335590ae24b6a5c323e22.tar.xz
[SCSI] mpt2sas: Don't disable device twice at suspend.
On suspend, _scsih_suspend calls mpt2sas_base_free_resources, which in turn calls pci_disable_device if the device is enabled prior to suspending. However, _scsih_suspend also calls pci_disable_device itself. Thus, in the event that the device is enabled prior to suspending, pci_disable_device will be called twice. This patch removes the duplicate call to pci_disable_device in _scsi_suspend as it is both unnecessary and results in a kernel oops. Signed-off-by: Tyler Stachecki <tstache1@binghamton.edu> Cc: stable@vger.kernel.org Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/virtio_scsi.c')
0 files changed, 0 insertions, 0 deletions