mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
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 <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
1 parent
2747e6be4c
commit
c3b10a55ab
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user