OpenCloudOS-Kernel/drivers/scsi/mpt2sas
Tyler Stachecki af61e27c3f [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>
2014-04-28 07:49:25 -07:00
..
mpi [SCSI] mpt2sas: MPI2 Rev X (2.00.16) specifications 2013-09-03 07:27:51 -07:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile
mpt2sas_base.c MPT / PCI: Use pci_stop_and_remove_bus_device_locked() 2014-01-14 12:14:25 -07:00
mpt2sas_base.h [SCSI] mpt2sas: Bump driver version to v16.100.00.00 2013-09-03 07:27:53 -07:00
mpt2sas_config.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_debug.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_scsih.c [SCSI] mpt2sas: Don't disable device twice at suspend. 2014-04-28 07:49:25 -07:00
mpt2sas_transport.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00