]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
firewire: fw-sbp2: spin disks down on suspend and shutdown
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 10 May 2008 22:36:47 +0000 (00:36 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 14 Jul 2008 11:00:18 +0000 (13:00 +0200)
commit2635f96f9086409de0ec882a210f374c012bffc3
tree4c8418db42a6fa20cda7154c77426e8b0acf6642
parent3719122a520af2957031859317e74858ab4d3f4b
firewire: fw-sbp2: spin disks down on suspend and shutdown

This instructs sd_mod to send START STOP UNIT on suspend and resume,
and on driver unbinding or unloading (including when the system is shut
down).

We don't do this though if multiple initiators may log in to the target.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Tested-by: Tino Keitel <tino.keitel@gmx.de>
drivers/firewire/fw-sbp2.c