aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_pm.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2011-12-05 09:20:24 +0800
committerJeff Garzik <jgarzik@redhat.com>2012-01-08 19:14:57 -0500
commitae0751ffc77e7f21629970fdab5528c573e637f8 (patch)
treee42ad3d5a5d2c5b742c6b129fd3bb532f29389f7 /drivers/scsi/scsi_pm.c
parentata: make ata port as parent device of scsi host (diff)
downloadlinux-dev-ae0751ffc77e7f21629970fdab5528c573e637f8.tar.xz
linux-dev-ae0751ffc77e7f21629970fdab5528c573e637f8.zip
[SCSI] add flag to skip the runtime PM calls on the host
With previous change, now the ata port runtime suspend will happen as: disk suspend --> scsi target suspend --> scsi host suspend --> ata port suspend ata port(parent device) suspend need to schedule scsi EH which will resume scsi host(child device). Then the child device resume will in turn make parent device resume first. This is kind of recursive. This patch adds a new flag Scsi_Host::eh_noresume. ata port will set this flag to skip the runtime PM calls on scsi host. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/scsi/scsi_pm.c')
0 files changed, 0 insertions, 0 deletions