Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

OMAPDSS: Correct check for the callback pointer in dss_dsi_disable_pads()

Appear to be a copy-paste bug: the code was checking board_data->dsi_enable_pads
while calling board_data->dsi_disable_pads.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Peter Ujfalusi and committed by
Tomi Valkeinen
da6c5687 e7d9facf

+1 -1
+1 -1
drivers/video/omap2/dss/core.c
··· 117 117 { 118 118 struct omap_dss_board_info *board_data = core.pdev->dev.platform_data; 119 119 120 - if (!board_data->dsi_enable_pads) 120 + if (!board_data->dsi_disable_pads) 121 121 return; 122 122 123 123 return board_data->dsi_disable_pads(dsi_id, lane_mask);