diff options
| -rw-r--r-- | drivers/scsi/libsas/sas_phy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/sas_phy.c b/drivers/scsi/libsas/sas_phy.c index e030e1452136..b71f5ac6c7dc 100644 --- a/drivers/scsi/libsas/sas_phy.c +++ b/drivers/scsi/libsas/sas_phy.c | |||
| @@ -35,7 +35,6 @@ static void sas_phye_loss_of_signal(struct work_struct *work) | |||
| 35 | struct asd_sas_event *ev = to_asd_sas_event(work); | 35 | struct asd_sas_event *ev = to_asd_sas_event(work); |
| 36 | struct asd_sas_phy *phy = ev->phy; | 36 | struct asd_sas_phy *phy = ev->phy; |
| 37 | 37 | ||
| 38 | phy->in_shutdown = 0; | ||
| 39 | phy->error = 0; | 38 | phy->error = 0; |
| 40 | sas_deform_port(phy, 1); | 39 | sas_deform_port(phy, 1); |
| 41 | } | 40 | } |
| @@ -45,7 +44,6 @@ static void sas_phye_oob_done(struct work_struct *work) | |||
| 45 | struct asd_sas_event *ev = to_asd_sas_event(work); | 44 | struct asd_sas_event *ev = to_asd_sas_event(work); |
| 46 | struct asd_sas_phy *phy = ev->phy; | 45 | struct asd_sas_phy *phy = ev->phy; |
| 47 | 46 | ||
| 48 | phy->in_shutdown = 0; | ||
| 49 | phy->error = 0; | 47 | phy->error = 0; |
| 50 | } | 48 | } |
| 51 | 49 | ||
| @@ -126,6 +124,7 @@ static void sas_phye_shutdown(struct work_struct *work) | |||
| 126 | ret); | 124 | ret); |
| 127 | } else | 125 | } else |
| 128 | pr_notice("phy%d is not enabled, cannot shutdown\n", phy->id); | 126 | pr_notice("phy%d is not enabled, cannot shutdown\n", phy->id); |
| 127 | phy->in_shutdown = 0; | ||
| 129 | } | 128 | } |
| 130 | 129 | ||
| 131 | /* ---------- Phy class registration ---------- */ | 130 | /* ---------- Phy class registration ---------- */ |
