diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-06-09 15:35:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-10 14:32:18 +0200 |
commit | 1eb73102da280b28bc3899f694e673bf3e4d0afd (patch) | |
tree | bdb2f20e2ec1f6be23c09a157bf76c430a49dabd /sound/soc/intel | |
parent | ASoC: codecs: rt286: Reorganize jack detect handling (diff) | |
download | linux-1eb73102da280b28bc3899f694e673bf3e4d0afd.tar.xz linux-1eb73102da280b28bc3899f694e673bf3e4d0afd.zip |
ASoC: codecs: rt298: Reorganize jack detect handling
Clean up in order to use and expose .set_jack callback.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20220609133541.3984886-4-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/boards/bxt_rt298.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bxt_rt298.c b/sound/soc/intel/boards/bxt_rt298.c index 75995d17597d..4bd93c3ba377 100644 --- a/sound/soc/intel/boards/bxt_rt298.c +++ b/sound/soc/intel/boards/bxt_rt298.c @@ -176,7 +176,7 @@ static int broxton_rt298_codec_init(struct snd_soc_pcm_runtime *rtd) if (ret) return ret; - rt298_mic_detect(component, &broxton_headset); + snd_soc_component_set_jack(component, &broxton_headset, NULL); snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); |