scsi: pm80xx: Fix for phy enable/disable functionality
Added proper mask for phy id in mpi_phy_stop_resp(). Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com> Signed-off-by: Viswas G <Viswas.G@microchip.com> Acked-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
0b1b1d8861
commit
cd135754d8
@@ -3810,7 +3810,8 @@ static int mpi_hw_event(struct pm8001_hba_info *pm8001_ha, void* piomb)
|
||||
" status = %x\n", status));
|
||||
if (status == 0) {
|
||||
phy->phy_state = 1;
|
||||
if (pm8001_ha->flags == PM8001F_RUN_TIME)
|
||||
if (pm8001_ha->flags == PM8001F_RUN_TIME &&
|
||||
phy->enable_completion != NULL)
|
||||
complete(phy->enable_completion);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user