aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-05 07:44:05 -0500
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-15 08:14:42 -0500
commit6eed73debf5840a42ebe9ea90958d2ce4a38c6b0 (patch)
tree3910c7e61bd6472043ce96a8a9cdb57beb259a27
parentdd8079d6a9c2aa292dacaf1b42f526558e20379f (diff)
OMAP: DSS2: DSI: remove dsi_vc_print_status()
It was not used. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
-rw-r--r--drivers/video/omap2/dss/dsi.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 131bd53b6b6d..4b85ed202d50 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -1760,24 +1760,6 @@ static int dsi_force_tx_stop_mode_io(void)
1760 return 0; 1760 return 0;
1761} 1761}
1762 1762
1763static void dsi_vc_print_status(int channel)
1764{
1765 u32 r;
1766
1767 r = dsi_read_reg(DSI_VC_CTRL(channel));
1768 DSSDBG("vc %d: TX_FIFO_NOT_EMPTY %d, BTA_EN %d, VC_BUSY %d, "
1769 "TX_FIFO_FULL %d, RX_FIFO_NOT_EMPTY %d, ",
1770 channel,
1771 FLD_GET(r, 5, 5),
1772 FLD_GET(r, 6, 6),
1773 FLD_GET(r, 15, 15),
1774 FLD_GET(r, 16, 16),
1775 FLD_GET(r, 20, 20));
1776
1777 r = dsi_read_reg(DSI_TX_FIFO_VC_EMPTINESS);
1778 DSSDBG("EMPTINESS %d\n", (r >> (8 * channel)) & 0xff);
1779}
1780
1781static int dsi_vc_enable(int channel, bool enable) 1763static int dsi_vc_enable(int channel, bool enable)
1782{ 1764{
1783 if (dsi.update_mode != OMAP_DSS_UPDATE_AUTO) 1765 if (dsi.update_mode != OMAP_DSS_UPDATE_AUTO)
@@ -2062,13 +2044,10 @@ static int dsi_vc_send_long(int channel, u8 data_type, u8 *data, u16 len,
2062 2044
2063 dsi_vc_write_long_header(channel, data_type, len, ecc); 2045 dsi_vc_write_long_header(channel, data_type, len, ecc);
2064 2046
2065 /*dsi_vc_print_status(0); */
2066
2067 p = data; 2047 p = data;
2068 for (i = 0; i < len >> 2; i++) { 2048 for (i = 0; i < len >> 2; i++) {
2069 if (dsi.debug_write) 2049 if (dsi.debug_write)
2070 DSSDBG("\tsending full packet %d\n", i); 2050 DSSDBG("\tsending full packet %d\n", i);
2071 /*dsi_vc_print_status(0); */
2072 2051
2073 b1 = *p++; 2052 b1 = *p++;
2074 b2 = *p++; 2053 b2 = *p++;