Skip to content

Commit 6feea0e

Browse files
Carlos Palminhadanvet
authored andcommitted
drm/bridge: removed dummy mode_fixup function from dw-hdmi.
Other bridge drivers don't implement this optional function. Removed dummy code from dw-hdmi brigde driver. Signed-off-by: Carlos Palminha <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent b3e7be6 commit 6feea0e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/gpu/drm/bridge/dw-hdmi.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,13 +1391,6 @@ static void dw_hdmi_bridge_mode_set(struct drm_bridge *bridge,
13911391
mutex_unlock(&hdmi->mutex);
13921392
}
13931393

1394-
static bool dw_hdmi_bridge_mode_fixup(struct drm_bridge *bridge,
1395-
const struct drm_display_mode *mode,
1396-
struct drm_display_mode *adjusted_mode)
1397-
{
1398-
return true;
1399-
}
1400-
14011394
static void dw_hdmi_bridge_disable(struct drm_bridge *bridge)
14021395
{
14031396
struct dw_hdmi *hdmi = bridge->driver_private;
@@ -1546,7 +1539,6 @@ static const struct drm_bridge_funcs dw_hdmi_bridge_funcs = {
15461539
.pre_enable = dw_hdmi_bridge_nop,
15471540
.post_disable = dw_hdmi_bridge_nop,
15481541
.mode_set = dw_hdmi_bridge_mode_set,
1549-
.mode_fixup = dw_hdmi_bridge_mode_fixup,
15501542
};
15511543

15521544
static irqreturn_t dw_hdmi_hardirq(int irq, void *dev_id)

0 commit comments

Comments
 (0)