From: Tomi Valkeinen Date: Fri, 14 May 2010 14:42:07 +0000 (+0300) Subject: OMAP: DSS2: DSI: Remove BTA after set_max_rx_packet_size X-Git-Tag: v2.6.36-rc1~487^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fa15c79b9a75cdc5eaabfed7413a9e098c841022;p=karo-tx-linux.git OMAP: DSS2: DSI: Remove BTA after set_max_rx_packet_size 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 --- diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index d0881e948bcf..18fe332d06e1 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -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);