summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5651.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-02-25 13:46:45 +0300
committerMark Brown <broonie@kernel.org>2018-03-01 20:32:24 +0300
commit6f0b819ae2b36614a514824c622ac0e02650b718 (patch)
treed96d891031d80ae0055f0c555c72c4855f8e9aef /sound/soc/codecs/rt5651.h
parentd8b8c878e86593ad8bd86676a2a4c2be58a8b889 (diff)
downloadlinux-6f0b819ae2b36614a514824c622ac0e02650b718.tar.xz
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.h2
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__ */