[PATCH v4 2/7] scsi: pm: add interface to autosuspend scsi device

2012-07-27 Thread Aaron Lu
Add a new interface scsi_autopm_put_device_autosuspend to mark last busy for the device and then put autosuspend the device. Signed-off-by: Aaron Lu --- drivers/scsi/scsi_pm.c | 7 +++ include/scsi/scsi_device.h | 2 ++ 2 files changed, 9 insertions(+) diff --git

[PATCH v4 2/7] scsi: pm: add interface to autosuspend scsi device

2012-07-27 Thread Aaron Lu
Add a new interface scsi_autopm_put_device_autosuspend to mark last busy for the device and then put autosuspend the device. Signed-off-by: Aaron Lu aaron...@amd.com --- drivers/scsi/scsi_pm.c | 7 +++ include/scsi/scsi_device.h | 2 ++ 2 files changed, 9 insertions(+) diff --git