]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-tegra114: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 07:09:51 +0000 (07:09 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 12:13:44 +0000 (13:13 +0100)
commita82118dead97a4ceec76ca1dd7843b7a96e62452
tree017137d6608426d3db87bc82f892f043259513de
parentb8068d6f2b08c65f6fcc79c17b4f8d91afbb13d5
spi: spi-tegra114: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220412070951.2532157-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra114.c