diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-02-25 11:46:45 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-01 18:32:24 +0100 |
commit | 6f0b819ae2b36614a514824c622ac0e02650b718 (patch) | |
tree | d96d891031d80ae0055f0c555c72c4855f8e9aef /sound/soc/intel | |
parent | ASoC: rt5651: Move 2 functions higher up in rt5651.c (diff) | |
download | linux-6f0b819ae2b36614a514824c622ac0e02650b718.tar.xz linux-6f0b819ae2b36614a514824c622ac0e02650b718.zip |
ASoC: rt5651: Use standard component set_jack callback
Use the standard component set_jack callback instead of defining a codec
private API for this.
Tested-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/boards/bytcr_rt5651.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bytcr_rt5651.c b/sound/soc/intel/boards/bytcr_rt5651.c index b6bf92191b9a..afb27e5e6756 100644 --- a/sound/soc/intel/boards/bytcr_rt5651.c +++ b/sound/soc/intel/boards/bytcr_rt5651.c @@ -370,7 +370,7 @@ static int byt_rt5651_init(struct snd_soc_pcm_runtime *runtime) return ret; } - rt5651_set_jack_detect(codec, &priv->jack); + snd_soc_component_set_jack(codec, &priv->jack, NULL); return ret; } |