From: Peter Ujfalusi Date: Tue, 16 Oct 2012 11:51:21 +0000 (+0200) Subject: OMAPDSS: Correct check for the callback pointer in dss_dsi_disable_pads() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=da6c56873927418aba585038e5c4d3d72a4d9b6c;p=deliverable%2Flinux.git 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 3794147b6eb0..d1ed2b4a5a2e 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -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);