aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-08-19 19:05:40 +0000
committerMark Brown <[email protected]>2021-08-19 22:27:57 +0000
commitd21213b4503ea66777313e4345e116cc8a5366bf (patch)
treec2876025627935da3e0b3b100e86ed01c954f0fe /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentASoC: rt5640: Delay requesting IRQ until the machine-drv calls set_jack (diff)
downloadkernel-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