Re: [PATCH v2 1/5] sd: put to stopped power state when runtime suspend

2012-10-11 Thread Alan Stern
On Thu, 11 Oct 2012, Aaron Lu wrote: When device is runtime suspended, put it to stopped power state to save some power. This will also make the behaviour consistent with what the scsi_pm.c thinks about sd as the comment says: sd treats runtime suspend, system suspend and system hibernate

[PATCH v2 1/5] sd: put to stopped power state when runtime suspend

2012-10-10 Thread Aaron Lu
When device is runtime suspended, put it to stopped power state to save some power. This will also make the behaviour consistent with what the scsi_pm.c thinks about sd as the comment says: sd treats runtime suspend, system suspend and system hibernate identical. With this patch, it is now