diff options
| author | Hans de Goede <[email protected]> | 2021-08-19 19:05:41 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-08-19 22:27:58 +0000 |
| commit | e3f2a6603a982467601e0831d706786ed1ade833 (patch) | |
| tree | 0e5f80e6aee84d22b96ca38d7e9c8ce3101f5db5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | ASoC: rt5640: Add optional hp_det_gpio parameter to rt5640_detect_headset() (diff) | |
| download | kernel-e3f2a6603a982467601e0831d706786ed1ade833.tar.gz kernel-e3f2a6603a982467601e0831d706786ed1ade833.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
