Message ID | 20200709075113.v2.2.I3c56d655737c89bd9b766567a04b0854db1a4152@changeid (mailing list archive) |
---|---|
State | Accepted |
Commit | 8592eb959ad4878c29b09e82934a25ed7c81e3c7 |
Headers | show |
Series | spi: spi-qcom-qspi: Avoid some per-transfer overhead | expand |
diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qspi.c index 8fedc605ab7f..b8857a97f40a 100644 --- a/drivers/spi/spi-qcom-qspi.c +++ b/drivers/spi/spi-qcom-qspi.c @@ -553,6 +553,8 @@ static int qcom_qspi_probe(struct platform_device *pdev) goto exit_probe_master_put; } + pm_runtime_use_autosuspend(dev); + pm_runtime_set_autosuspend_delay(dev, 250); pm_runtime_enable(dev); ret = spi_register_master(master);