aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt1015.h
diff options
context:
space:
mode:
authorHans de Goede2021-08-19 21:05:41 +0200
committerMark Brown2021-08-19 23:27:58 +0100
commite3f2a6603a982467601e0831d706786ed1ade833 (patch)
tree0e5f80e6aee84d22b96ca38d7e9c8ce3101f5db5 /sound/soc/codecs/rt1015.h
parentd21213b4503ea66777313e4345e116cc8a5366bf (diff)
ASoC: rt5640: Add rt5640_set_ovcd_params() helper
Some devices don't use the builtin jack-detect but can still benefit from the mic-bias-current over-current-detection to differentiate between headphones vs a headset. Move the ovcd init code from rt5640_enable_jack_detect() into a new rt5640_set_ovcd_params() helper and export this helper as well as a couple of related ovcd functions. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210819190543.784415-5-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1015.h')
0 files changed, 0 insertions, 0 deletions