pm8001: Fix hibernation issue
authorBradley Grove <bgrove@attotech.com>
Wed, 9 Jul 2014 11:50:23 +0000 (17:20 +0530)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:17:04 +0000 (17:17 -0400)
commit9f17609968af25a4082d4329abbc6e4f52eda7cd
tree55bf6d580cb30d34a70bc82dd4b1cbf8d8e28d9a
parent4dc06fd84645c323a1f20482b9b571cab6dc7d93
pm8001: Fix hibernation issue

During hibernation, the HBA firmware may lose power and forget the device
id info.   This causes the HBA to reject IO upon resume.   The fix is
to call the libsas power management routines to make the domain device
forgetful.

This fixes bug 76681: https://bugzilla.kernel.org/show_bug.cgi?id=76681

Signed-off-by: Bradley Grove <bgrove@attotech.com>
Acked-by: Jack Wang <xjtuwjp@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/pm8001/pm8001_init.c