diff options
| author | Hans de Goede <[email protected]> | 2021-08-19 19:05:40 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-08-19 22:27:57 +0000 |
| commit | d21213b4503ea66777313e4345e116cc8a5366bf (patch) | |
| tree | c2876025627935da3e0b3b100e86ed01c954f0fe /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | ASoC: rt5640: Delay requesting IRQ until the machine-drv calls set_jack (diff) | |
| download | kernel-d21213b4503ea66777313e4345e116cc8a5366bf.tar.gz kernel-d21213b4503ea66777313e4345e116cc8a5366bf.zip | |
ASoC: rt5640: Add optional hp_det_gpio parameter to rt5640_detect_headset()
Some devices don't use the builtin jack-detect but can still benefit
from the mic-bias-current over-current-detection headphones vs
headset detection done by rt5640_detect_headset().
In this case the jack-inserted check done by rt5640_detect_headset()
needs to be done through a GPIO rather then by using the codec's
builtin jack-detect. Add an optional hp_det_gpio parameter and export
rt5640_detect_headset() for use on machines where jack-detect is
handled outside of the codec.
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
