aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorJayesh Choudhary <[email protected]>2024-06-13 14:08:03 +0530
committerMaxime Ripard <[email protected]>2024-06-13 17:36:43 +0200
commit520dbf5423e112da1c62748cb4349a4f25c63cc4 (patch)
treeb1c2812489a7fd31b437267f3a9acf85546f1399 /scripts/gcc-plugins/structleak_plugin.c
parent2755d1f46aa25f65179964bf315d8a16b3540eab (diff)
drm/bridge: sii902x: Fix mode_valid hook
Currently, mode_valid is defined only in drm_connector_helper_funcs. When the bridge is attached with the 'DRM_BRIDGE_ATTACH_NO_CONNECTOR' flag, the connector is not initialized, and so is the mode_valid hook under connector helper funcs. It also returns MODE_OK for all modes without actually checking the modes. So move the mode_valid hook to drm_bridge_funcs with proper clock checks for maximum and minimum pixel clock supported by the bridge. Signed-off-by: Jayesh Choudhary <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Acked-by: Sui Jingfeng <[email protected]> Reviewed-by: Aradhya Bhatia <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions