]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: meson: dw-hdmi: do not fail probe if HDMI regulator is already enabled
authorNeil Armstrong <neil.armstrong@linaro.org>
Wed, 9 Oct 2024 08:01:56 +0000 (10:01 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 14 Oct 2024 07:06:16 +0000 (09:06 +0200)
commit8c914e53641e22a7fe5877c816085e1b3192b95b
tree94049d900e00d4f21170f2029655501dc4730610
parentb52364b942ffe2c2aa9951ae1176c08874df2a54
video: meson: dw-hdmi: do not fail probe if HDMI regulator is already enabled

If the regulator is already enabled, this happens if the regulator
is set in regulator-always-on, regulator_set_enable() return -EALREADY.

Ignore the -EALREADY return since it's not an error.

Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20241009-u-boot-video-fix-hdmi-supply-already-on-v2-1-4478a28d1f49@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/video/meson/meson_dw_hdmi.c