From: Tejun Heo Date: Wed, 14 Oct 2009 02:18:28 +0000 (+0900) Subject: sata_nv: make sure link is brough up online when skipping hardreset X-Git-Tag: v2.6.32-rc6~126^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6489e3262e6b188a1a009b65e8a94b7aa17645b7;p=pandora-kernel.git sata_nv: make sure link is brough up online when skipping hardreset prereset doesn't bring link online if hardreset is about to happen and nv_hardreset() may skip if conditions are not right so softreset may be entered with non-working link status if the system firmware didn't bring it up before entering OS code which can happen during resume. This patch makes nv_hardreset() to bring up the link if it's skipping reset. This bug was reported by frodone@gmail.com in the following bug entry. http://bugzilla.kernel.org/show_bug.cgi?id=14329 Signed-off-by: Tejun Heo Reported-by: frodone@gmail.com Cc: stable@kernel.org Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed