mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
ASoC: tegra: disable jack detect (WAR)
There seems to be kernel panic happening when rt5659_set_jack_detect() is called from the machine driver. For now the jack detection is disabled to unblock 5.4 bringup and can be separately tracked. A FIXME item is put. Once the issue is resolved this patch can be reverted. Bug 2845498 Change-Id: Ieb67e783a1dbcfb9ebbeb2bf301a818c94e38457 Signed-off-by: Sameer Pujar <spujar@nvidia.com>
This commit is contained in:
@@ -393,11 +393,15 @@ static int tegra_machine_rt565x_init(struct snd_soc_pcm_runtime *rtd)
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
/* FIXME */
|
||||
#if 0
|
||||
err = rt5659_set_jack_detect(rtd->codec_dai->component, jack);
|
||||
if (err) {
|
||||
dev_err(card->dev, "Failed to set jack for RT565x: %d\n", err);
|
||||
return err;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* single button supporting play/pause */
|
||||
snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA);
|
||||
|
||||
Reference in New Issue
Block a user