libata: when restoring SControl during detach do the PMP links first
authorTejun Heo <tj@kernel.org>
Mon, 3 Nov 2008 11:03:49 +0000 (20:03 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 29 Dec 2008 03:43:21 +0000 (22:43 -0500)
commitad74e4c18d0962397314460d0da312e72c8bd02d
treea2839731f70b44cca5e74b614dfb4de5a0d22c61
parent1eca4365be25c540650693e941bc06a66cf38f94
libata: when restoring SControl during detach do the PMP links first

When restoring SControl during detach, PMP links should be handled
first as changing SControl of the host link can affect SCR access of
PMP links.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c