diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2023-08-04 13:48:10 +0300 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2023-09-05 16:43:11 +0200 |
commit | 941882a0e96d245f38116e940912b404b6a93c6f (patch) | |
tree | f99ad56efb46f19581a8c87d16d389e98a20b5d7 /usr/include/headers_check.pl | |
parent | d0375f6858c4ff7244b62b02eb5e93428e1916cd (diff) |
drm/bridge: lt8912b: Fix bridge_detach
The driver calls lt8912_bridge_detach() from its lt8912_remove()
function. As the DRM core detaches bridges automatically, this leads to
calling lt8912_bridge_detach() twice. The code probably has tried to
manage the double-call with the 'is_attached' variable, but the driver
never sets the variable to false, so its of no help.
Fix the issue by dropping the call to lt8912_bridge_detach() from
lt8912_remove(), as the DRM core will handle the detach call for us,
and also drop the useless is_attached field.
Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230804-lt8912b-v1-1-c542692c6a2f@ideasonboard.com
Diffstat (limited to 'usr/include/headers_check.pl')
0 files changed, 0 insertions, 0 deletions