summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2013-01-23 15:09:31 +0800
committerJeff Garzik <jgarzik@redhat.com>2013-01-25 15:36:38 -0500
commit6c7f1e2f12f6f37ddda01180c9e5c407eccce616 (patch)
tree6c3c1056093b5dca649b1d18f09d7a412cce5fe2 /REPORTING-BUGS
parent29e674dd5c8e781589f09c3ee139c80f6da274e4 (diff)
downloadlinux-6c7f1e2f12f6f37ddda01180c9e5c407eccce616.tar.bz2
[SCSI] sr: support runtime pm
This patch adds runtime pm support for sr. It did this by increasing the runtime usage_count of the device when its block device is accessed. And decreasing the runtime usage_count of the device when the access is done. If there is media inside, runtime suspend is not allowed as we don't always know if the ODD is being used or not. The idea is discussed here: http://thread.gmane.org/gmane.linux.acpi.devel/55243/focus=52703 and the restriction to check media inside is discussed here: http://thread.gmane.org/gmane.linux.ide/53665/focus=58836 Signed-off-by: Aaron Lu <aaron.lu@intel.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions