OMAP: DSS2: DSI: Remove BTA after set_max_rx_packet_size
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Fri, 14 May 2010 14:42:07 +0000 (17:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 5 Aug 2010 13:52:04 +0000 (16:52 +0300)
SMRPS function always sent BTA after sending the SMRPS packet. This is
not needed, and also caused some (buggy) panels to bug. This patch
removes the BTA.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/dsi.c

index d0881e948bcf2f64fd299dfda58178fe4c59bf0d..18fe332d06e19368f2b85257943d92dddd4a2eff 100644 (file)
@@ -2279,16 +2279,8 @@ EXPORT_SYMBOL(dsi_vc_dcs_read_2);
 
 int dsi_vc_set_max_rx_packet_size(int channel, u16 len)
 {
-       int r;
-       r = dsi_vc_send_short(channel, DSI_DT_SET_MAX_RET_PKG_SIZE,
+       return dsi_vc_send_short(channel, DSI_DT_SET_MAX_RET_PKG_SIZE,
                        len, 0);
-
-       if (r)
-               return r;
-
-       r = dsi_vc_send_bta_sync(channel);
-
-       return r;
 }
 EXPORT_SYMBOL(dsi_vc_set_max_rx_packet_size);