diff options
author | Archit Taneja <archit@ti.com> | 2010-08-17 17:58:07 +0530 |
---|---|---|
committer | Samreen <samreen@ti.com> | 2010-08-17 19:45:29 +0530 |
commit | 625e936701f1672a5c856d3f841e2b078537643f (patch) | |
tree | 8dcbd40a24617d31e795030760c901621806fef2 /drivers | |
parent | d562a360d64d615da2685950b56786d7e295e23c (diff) |
DSS2: DSI: Remove RX_FIFO_NOT_EMPTY error checks
On ES2.0, we get DSI EOT Sync errors at times, these
error checks are being temporarily removed for OMAP4
till the issue is rootcaused.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index f002511eab19..5936b0887715 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -2154,11 +2154,13 @@ static u16 dsi_vc_flush_receive_data(enum omap_dsi_index ix, u32 val; u8 dt; val = dsi_read_reg(ix, DSI_VC_SHORT_PACKET_HEADER(channel)); - DSSERR("\trawval %#08x\n", val); + if (!cpu_is_omap44xx()) + DSSERR("\trawval %#08x\n", val); dt = FLD_GET(val, 5, 0); if (dt == DSI_DT_RX_ACK_WITH_ERR) { u16 err = FLD_GET(val, 23, 8); - dsi_show_rx_ack_with_err(err); + if (!cpu_is_omap44xx()) + dsi_show_rx_ack_with_err(err); } else if (dt == DSI_DT_RX_SHORT_READ_1) { DSSERR("\tDCS short response, 1 byte: %#x\n", FLD_GET(val, 23, 8)); @@ -2187,7 +2189,8 @@ static int dsi_vc_send_bta(enum omap_dsi_index ix, int channel) if (REG_GET(ix, DSI_VC_CTRL(channel), 20, 20)) { /* RX_FIFO_NOT_EMPTY */ - DSSERR("rx fifo not empty when sending BTA, dumping data:\n"); + if (!cpu_is_omap44xx()) + DSSERR("rx fifo not empty when sending BTA, dumping data:\n"); dsi_vc_flush_receive_data(ix, channel); } @@ -3151,7 +3154,8 @@ static void dsi_handle_framedone(enum omap_dsi_index ix, int error) /* RX_FIFO_NOT_EMPTY */ if (REG_GET(ix, DSI_VC_CTRL(channel), 20, 20)) { - DSSERR("Received error during frame transfer:\n"); + if (!cpu_is_omap44xx()) + DSSERR("Received error during frame transfer:\n"); dsi_vc_flush_receive_data(ix, channel); if (!error) error = -EIO; |