diff options
author | Tyler Stachecki <tstache1@binghamton.edu> | 2014-04-25 16:41:04 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-05-15 09:55:52 +0200 |
commit | e2b70781505e2fe15540a49f10053b229efc3fbe (patch) | |
tree | c2e2a6226c047c592a56465f3e0615fb7cbbb1a1 /sound/soc/s6000/s6000-i2s.c | |
parent | 7b600e97f9d61a4745f2d8cc05b2e2c1e6c9b2a8 (diff) |
mpt2sas: Don't disable device twice at suspend.
commit af61e27c3f77c7623b5335590ae24b6a5c323e22 upstream.
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>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'sound/soc/s6000/s6000-i2s.c')
0 files changed, 0 insertions, 0 deletions