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/codecs/rt5651.h | |
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/codecs/rt5651.h')
-rw-r--r-- | sound/soc/codecs/rt5651.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5651.h b/sound/soc/codecs/rt5651.h index 8f128d057ff0..f3158488fc89 100644 --- a/sound/soc/codecs/rt5651.h +++ b/sound/soc/codecs/rt5651.h @@ -2080,6 +2080,4 @@ struct rt5651_priv { bool hp_mute; }; -int rt5651_set_jack_detect(struct snd_soc_component *component, - struct snd_soc_jack *hp_jack); #endif /* __RT5651_H__ */ |