Skip to content

Commit c2ee216

Browse files
authored
bus: mhi: host: pci_generic: Improve boot performance and cleanup (#410)
bus: mhi: host: pci_generic: Improve boot performance and cleanup
2 parents f6984cb + 5aadac8 commit c2ee216

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/bus/mhi/host/pci_generic.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ static int mhi_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
13921392
goto err_unregister;
13931393
}
13941394

1395-
err = mhi_sync_power_up(mhi_cntrl);
1395+
err = mhi_async_power_up(mhi_cntrl);
13961396
if (err) {
13971397
dev_err(&pdev->dev, "failed to power up MHI controller\n");
13981398
goto err_unprepare;
@@ -1446,6 +1446,7 @@ static void mhi_pci_remove(struct pci_dev *pdev)
14461446
mhi_soc_reset(mhi_cntrl);
14471447

14481448
mhi_unregister_controller(mhi_cntrl);
1449+
pm_runtime_forbid(&pdev->dev);
14491450
}
14501451

14511452
static void mhi_pci_shutdown(struct pci_dev *pdev)

0 commit comments

Comments
 (0)