aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorKen Xue <[email protected]>2015-12-01 06:45:23 +0000
committerMartin K. Petersen <[email protected]>2015-12-10 17:24:44 +0000
commit1c69d3b6eb73e466ecbb8edaf1bc7fd585b288da (patch)
tree5b0a2eb7bd68f8c902b75d6b0fc7b252e532f92c /drivers/fpga/fpga-mgr.c
parentLinux 4.4-rc4 (diff)
downloadkernel-1c69d3b6eb73e466ecbb8edaf1bc7fd585b288da.tar.gz
kernel-1c69d3b6eb73e466ecbb8edaf1bc7fd585b288da.zip
Revert "SCSI: Fix NULL pointer dereference in runtime PM"
This reverts commit 49718f0fb8c9 ("SCSI: Fix NULL pointer dereference in runtime PM") The old commit may lead to a issue that blk_{pre|post}_runtime_suspend and blk_{pre|post}_runtime_resume may not be called in pairs. Take sr device as example, when sr device goes to runtime suspend, blk_{pre|post}_runtime_suspend will be called since sr device defined pm->runtime_suspend. But blk_{pre|post}_runtime_resume will not be called since sr device doesn't have pm->runtime_resume. so, sr device can not resume correctly anymore. More discussion can be found from below link. http://marc.info/?l=linux-scsi&m=144163730531875&w=2 Signed-off-by: Ken Xue <[email protected]> Acked-by: Alan Stern <[email protected]> Cc: Xiangliang Yu <[email protected]> Cc: James E.J. Bottomley <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Michael Terry <[email protected]> Cc: [email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions