Skip to content

Commit c83d263

Browse files
pujarsbroonie
authored andcommitted
ASoC: tegra: Use normal system sleep for MVC
The driver currently subscribes for a late system sleep call. The initcall_debug log shows that suspend call for MVC device happens after the parent device (AHUB). This seems to cause suspend failure on Jetson TX2 platform. Also there is no use of having late system sleep specifically for MVC device. Fix the order by using normal system sleep. Fixes: e539891 ("ASoC: tegra: Add Tegra210 based MVC driver") Cc: stable@vger.kernel.org Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1637676459-31191-4-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent af120d0 commit c83d263

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/tegra/tegra210_mvc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,8 @@ static int tegra210_mvc_platform_remove(struct platform_device *pdev)
639639
static const struct dev_pm_ops tegra210_mvc_pm_ops = {
640640
SET_RUNTIME_PM_OPS(tegra210_mvc_runtime_suspend,
641641
tegra210_mvc_runtime_resume, NULL)
642-
SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
643-
pm_runtime_force_resume)
642+
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
643+
pm_runtime_force_resume)
644644
};
645645

646646
static struct platform_driver tegra210_mvc_driver = {

0 commit comments

Comments
 (0)