summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/v3d/v3d_irq.c
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-03-13 13:00:08 +0100
committerMaxime Ripard <mripard@kernel.org>2025-03-20 14:45:51 +0100
commit9c77154b71ad936227d0c407835854604c532700 (patch)
tree5bac55e95916f6876610a33bf02bbf540539e65a /drivers/gpu/drm/v3d/v3d_irq.c
parentae875180318a51b2812295e8948162108f5e46ef (diff)
drm/bridge: tc358768: Stop disabling when failing to enable
The tc358768 bridge driver, if enabling it fails, tries to disable it. This is pretty uncommon in bridge drivers, and also stands in the way for further reworks. Worse, since pre_enable and enable aren't expected to fail, disable and post_disable might be called twice: once to handle the failure, and once to actually disable the bridge. Since post_disable uses regulators and clocks, this would lead to enable count imbalances. In order to prevent that imbalance, and to allow further reworks, let's drop the calls to disable and post_disable, but keep the warning to let users know about what's going on. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20250313-bridge-connector-v6-14-511c54a604fb@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/v3d/v3d_irq.c')
0 files changed, 0 insertions, 0 deletions