ASoC: tegra-alt: Fix Galen/Rey jack status for supermodule

When using the supermodule on the Tegra194 Galen/Rey platforms the
jack status is not updated after resuming from suspend and so if the
jack status changed during suspend, this would not be seen.

Bug 2187533

Change-Id: I647d6d8ee72301003620857ba0885e45fe2e7466
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1748231
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Jon Hunter
2018-06-12 15:54:16 +01:00
committed by Sameer Pujar
parent 3e1be09df1
commit 10e331ee60

View File

@@ -901,6 +901,10 @@ static int tegra_machine_resume_post(struct snd_soc_card *card)
return trigger_jack_status_check(rtd->codec);
}
rtd = snd_soc_get_pcm_runtime(card, "rt565x-codec-sysclk-bclk1");
if (rtd)
return trigger_jack_status_check(rtd->codec);
return 0;
}