Re: [PATCH] [SCSI] mpt2sas: Don't disable device twice at suspend.

2014-05-28 Thread Christoph Hellwig
On Fri, Apr 25, 2014 at 04:41:04PM -0400, Tyler Stachecki wrote: > 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

[PATCH] [SCSI] mpt2sas: Don't disable device twice at suspend.

2014-04-25 Thread Tyler Stachecki
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 wil