summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-08-05 00:06:04 +0300
committerDouglas Anderson <dianders@chromium.org>2023-09-13 18:36:18 +0300
commitf8c37b88092e12157b2b707f1a83684b0b97b68e (patch)
tree6d9a3470701604ea0097b42ac445e8966498c44c /drivers/misc
parent8569c31545385195bdb0c021124e68336e91c693 (diff)
downloadlinux-f8c37b88092e12157b2b707f1a83684b0b97b68e.tar.xz
drm/panel: Don't store+check prepared/enabled for simple cases
As talked about in commit d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel"), we want to remove needless code from panel drivers that was storing and double-checking the prepared/enabled state. Even if someone was relying on the double-check before, that double-check is now in the core and not needed in individual drivers. This pile of panel drivers appears to be simple to handle. Based on code inspection they seemed to be using the prepared/enabled state simply for double-checking that nothing else in the kernel called them inconsistently. Now that the core drm_panel is doing the double checking (and warning) it should be very clear that these devices don't need their own double-check. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230804140605.RFC.1.Ia54954fd2f7645c1b86597494902973f57feeb71@changeid
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions