Skip to content

Commit 638c31d

Browse files
pujarsbroonie
authored andcommitted
ASoC: tegra: Use normal system sleep for AMX
The driver currently subscribes for a late system sleep call. The initcall_debug log shows that suspend call for AMX 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 AMX device. Fix the order by using normal system sleep. Fixes: 77f7df3 ("ASoC: tegra: Add Tegra210 based AMX driver") Cc: stable@vger.kernel.org Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1637676459-31191-6-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent b78400e commit 638c31d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/tegra/tegra210_amx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ static int tegra210_amx_platform_remove(struct platform_device *pdev)
583583
static const struct dev_pm_ops tegra210_amx_pm_ops = {
584584
SET_RUNTIME_PM_OPS(tegra210_amx_runtime_suspend,
585585
tegra210_amx_runtime_resume, NULL)
586-
SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
587-
pm_runtime_force_resume)
586+
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
587+
pm_runtime_force_resume)
588588
};
589589

590590
static struct platform_driver tegra210_amx_driver = {

0 commit comments

Comments
 (0)