Skip to content

Commit af120d0

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/tegra/tegra210_sfc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3594,8 +3594,8 @@ static int tegra210_sfc_platform_remove(struct platform_device *pdev)
35943594
static const struct dev_pm_ops tegra210_sfc_pm_ops = {
35953595
SET_RUNTIME_PM_OPS(tegra210_sfc_runtime_suspend,
35963596
tegra210_sfc_runtime_resume, NULL)
3597-
SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
3598-
pm_runtime_force_resume)
3597+
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
3598+
pm_runtime_force_resume)
35993599
};
36003600

36013601
static struct platform_driver tegra210_sfc_driver = {

0 commit comments

Comments
 (0)