From: Aaron Lu Date: Mon, 28 Oct 2013 07:27:49 +0000 (+0800) Subject: [SCSI] sr: use block layer runtime PM X-Git-Tag: v3.14-rc1~131^2^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6627b38fd902cd31c6ad52f9be12a17a38f0faef;p=pandora-kernel.git [SCSI] sr: use block layer runtime PM 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 autosuspend delay is set longer than the polling interval then the device will never suspend. Signed-off-by: Aaron Lu Acked-by: Alan Stern Signed-off-by: James Bottomley --- Reading git-diff-tree failed