[RESEND PATCH v3] scsi: sr: use block layer runtime PM

2013-10-28 Thread Aaron Lu
Migrate sr to make use of block layer runtime PM. Accordingly, the SCSI bus layer runtime PM callback is simplified as all SCSI drivers implementing runtime PM now use the block layer's request-based mechanism. Note that due to the device will be polled by kernel at a constant interval, if the aut

[PATCH v3] scsi: sr: use block layer runtime PM

2013-09-08 Thread Aaron Lu
Migrate sr to make use of block layer runtime PM. Accordingly, the SCSI bus layer runtime PM callback is simplified as all SCSI drivers implementing runtime PM now use the block layer's request-based mechanism. Note that due to the device will be polled by kernel at a constant interval, if the au