projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a2e68
)
[SCSI] scsi_transport_sas: 'enable' phys on reset
author
Dan Williams
<dan.j.williams@intel.com>
Tue, 31 Jan 2012 06:53:51 +0000
(22:53 -0800)
committer
James Bottomley
<JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:43:54 +0000
(15:43 -0600)
If userspace requests a phy reset, treat that as a request for the phy
to be enabled since that is the effect on hardware.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_sas.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/scsi_transport_sas.c
b/drivers/scsi/scsi_transport_sas.c
index
7d69a25
..
f7565fc
100644
(file)
--- a/
drivers/scsi/scsi_transport_sas.c
+++ b/
drivers/scsi/scsi_transport_sas.c
@@
-615,6
+615,7
@@
do_sas_phy_reset(struct device *dev, size_t count, int hard_reset)
error = i->f->phy_reset(phy, hard_reset);
if (error)
return error;
+ phy->enabled = 1;
return count;
};