[SCSI] pm80xx: Fix for direct attached device.
authorNikith Ganigarakoppal <Nikith.Ganigarakoppal@pmcs.com>
Wed, 30 Oct 2013 10:43:22 +0000 (16:13 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Dec 2013 18:33:20 +0000 (10:33 -0800)
commit34a9b81b476ea0fa7a2e7ec642830f690eb093aa
tree79f94fb5fdfe81d34f913bcaf76d3e8c33160027
parent94f33c16f2108ad02599de2459c903ad45d825dc
[SCSI] pm80xx: Fix for direct attached device.

In case of direct attached SATA device delay is not enough.
It will give crash for set device state command response and
wait_for_completion is the best solution for this.

Signed-off-by: Nikith.Ganigarakoppal@pmcs.com
Signed-off-by: Anandkumar.Santhanam@pmcs.com
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_sas.c