scsi: megaraid_sas: Update controller info during resume

There is a possibility that firmware on the controller was upgraded before
system was suspended. During resume, driver needs to read updated
controller properties.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Shivasharan S 2018-06-04 03:45:10 -07:00 коммит произвёл Martin K. Petersen
Родитель 2747e6be4c
Коммит c3b10a55ab
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -6790,6 +6790,9 @@ megasas_resume(struct pci_dev *pdev)
goto fail_init_mfi;
}
if (megasas_get_ctrl_info(instance) != DCMD_SUCCESS)
goto fail_init_mfi;
tasklet_init(&instance->isr_tasklet, instance->instancet->tasklet,
(unsigned long)instance);