Skip to content

Commit

Permalink
OMAPDSS: Correct check for the callback pointer in dss_dsi_disable_pa…
Browse files Browse the repository at this point in the history
…ds()

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>
  • Loading branch information
Peter Ujfalusi authored and Tomi Valkeinen committed Oct 17, 2012
1 parent e7d9fac commit da6c568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/omap2/dss/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void dss_dsi_disable_pads(int dsi_id, unsigned lane_mask)
{
struct omap_dss_board_info *board_data = core.pdev->dev.platform_data;

if (!board_data->dsi_enable_pads)
if (!board_data->dsi_disable_pads)
return;

return board_data->dsi_disable_pads(dsi_id, lane_mask);
Expand Down

0 comments on commit da6c568

Please sign in to comment.