Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184855
b: refs/heads/master
c: 6eed73d
h: refs/heads/master
i:
  184853: 673be3f
  184851: b08f657
  184847: a582ae6
v: v3
  • Loading branch information
Tomi Valkeinen committed Feb 15, 2010
1 parent 03854a5 commit bd39ba2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd8079d6a9c2aa292dacaf1b42f526558e20379f
refs/heads/master: 6eed73debf5840a42ebe9ea90958d2ce4a38c6b0
21 changes: 0 additions & 21 deletions trunk/drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1760,24 +1760,6 @@ static int dsi_force_tx_stop_mode_io(void)
return 0;
}

static void dsi_vc_print_status(int channel)
{
u32 r;

r = dsi_read_reg(DSI_VC_CTRL(channel));
DSSDBG("vc %d: TX_FIFO_NOT_EMPTY %d, BTA_EN %d, VC_BUSY %d, "
"TX_FIFO_FULL %d, RX_FIFO_NOT_EMPTY %d, ",
channel,
FLD_GET(r, 5, 5),
FLD_GET(r, 6, 6),
FLD_GET(r, 15, 15),
FLD_GET(r, 16, 16),
FLD_GET(r, 20, 20));

r = dsi_read_reg(DSI_TX_FIFO_VC_EMPTINESS);
DSSDBG("EMPTINESS %d\n", (r >> (8 * channel)) & 0xff);
}

static int dsi_vc_enable(int channel, bool enable)
{
if (dsi.update_mode != OMAP_DSS_UPDATE_AUTO)
Expand Down Expand Up @@ -2062,13 +2044,10 @@ static int dsi_vc_send_long(int channel, u8 data_type, u8 *data, u16 len,

dsi_vc_write_long_header(channel, data_type, len, ecc);

/*dsi_vc_print_status(0); */

p = data;
for (i = 0; i < len >> 2; i++) {
if (dsi.debug_write)
DSSDBG("\tsending full packet %d\n", i);
/*dsi_vc_print_status(0); */

b1 = *p++;
b2 = *p++;
Expand Down

0 comments on commit bd39ba2

Please sign in to comment.