projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61b869
)
[SCSI] pm8001: do not reset local sata as it will not be found if reset
author
jack wang
<jack_wang@usish.com>
Mon, 7 Dec 2009 09:23:05 +0000
(17:23 +0800)
committer
James Bottomley
<James.Bottomley@suse.de>
Thu, 10 Dec 2009 16:07:30 +0000
(10:07 -0600)
Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/pm8001/pm8001_sas.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/pm8001/pm8001_sas.c
b/drivers/scsi/pm8001/pm8001_sas.c
index c86f92160c7a1c5557b7741c5cf408d9f601bcc9..e3d4f385dcce99a8e2d4ebf4e2d6665af0eab2ef 100644
(file)
--- a/
drivers/scsi/pm8001/pm8001_sas.c
+++ b/
drivers/scsi/pm8001/pm8001_sas.c
@@
-944,6
+944,8
@@
int pm8001_I_T_nexus_reset(struct domain_device *dev)
if (dev_is_sata(dev)) {
DECLARE_COMPLETION_ONSTACK(completion_setstate);
+ if (scsi_is_sas_phy_local(phy))
+ return 0;
rc = sas_phy_reset(phy, 1);
msleep(2000);
rc = pm8001_exec_internal_task_abort(pm8001_ha, pm8001_dev ,