mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user