diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-09-29 00:12:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 13:14:12 +0100 |
commit | 15b26d8165b39a07f038fb4d2b67a04c50463eb9 (patch) | |
tree | 0acd9051b52d0dd8f36b5bcb255802821c381388 /kernel/printk/internal.h | |
parent | 85a6af284d1c720d78683b550bb5d32bc84e3cfc (diff) |
ASoC: rockchip: Convert RK3288 HDMI to GPIO descriptors
This converts the Rockchip RK3288 HDMI driver to use GPIO
descriptors:
- Look up the HP EN GPIO as an optional descriptor and handle
it directly, the gpiod API is NULL-tolerant so no special
guards are needed.
- Let the Jack detection core obtain and handle the HP detection
GPIO, just pass the right name and gpiod_dev and it will
do the job. Make sure to check that the GPIO property
is there first, so it becomes optional.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230929-descriptors-asoc-rockchip-v2-1-2d2c0e043aab@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/printk/internal.h')
0 files changed, 0 insertions, 0 deletions