Re: [RFC PATCH] scsi: sr: support runtime pm

2013-01-21 Thread Aaron Lu
block device operation > > functions; Move the existing PM get/put pair functions in > > sr_check_events to sr_block_check_events; > > - Add sr_runtime_suspend, it will check if there is media inside and if > > yes, avoid suspend. > > > > From 378bf55810a11

Re: [RFC PATCH] scsi: sr: support runtime pm

2013-01-21 Thread Alan Stern
t will check if there is media inside and if > yes, avoid suspend. > > From 378bf55810a1118ede481f45132b5c39af891d23 Mon Sep 17 00:00:00 2001 > From: Aaron Lu > Date: Wed, 26 Sep 2012 15:14:56 +0800 > Subject: [RFC PATCH] scsi: sr: support runtime pm > > This patch adds r

[RFC PATCH] scsi: sr: support runtime pm

2013-01-21 Thread Aaron Lu
block device operation functions; Move the existing PM get/put pair functions in sr_check_events to sr_block_check_events; - Add sr_runtime_suspend, it will check if there is media inside and if yes, avoid suspend. >From 378bf55810a1118ede481f45132b5c39af891d23 Mon Sep 17 00:00:00 2001 From: A