aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-08-19 21:05:41 +0200
committerMark Brown <[email protected]>2021-08-19 23:27:58 +0100
commite3f2a6603a982467601e0831d706786ed1ade833 (patch)
tree0e5f80e6aee84d22b96ca38d7e9c8ce3101f5db5 /lib/test_overflow.c
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 <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions