OMAP: DSS2: DSI: print errors in dsi_vc_flush_receive_data()
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 16 Mar 2010 14:19:06 +0000 (16:19 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 3 Aug 2010 12:18:46 +0000 (15:18 +0300)
dsi_vc_flush_receive_data() is meant to dump data when something has gone
wrong, and thus we should use DSSERR, not DSSDBG.

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

index eb90de5e107841e2716568eef8ddda826e68fca2..542c6e2a3ff10931c6a555717e363f0dcd37d683 100644 (file)
@@ -1854,19 +1854,19 @@ static u16 dsi_vc_flush_receive_data(int channel)
                u32 val;
                u8 dt;
                val = dsi_read_reg(DSI_VC_SHORT_PACKET_HEADER(channel));
-               DSSDBG("\trawval %#08x\n", val);
+               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);
                } else if (dt == DSI_DT_RX_SHORT_READ_1) {
-                       DSSDBG("\tDCS short response, 1 byte: %#x\n",
+                       DSSERR("\tDCS short response, 1 byte: %#x\n",
                                        FLD_GET(val, 23, 8));
                } else if (dt == DSI_DT_RX_SHORT_READ_2) {
-                       DSSDBG("\tDCS short response, 2 byte: %#x\n",
+                       DSSERR("\tDCS short response, 2 byte: %#x\n",
                                        FLD_GET(val, 23, 8));
                } else if (dt == DSI_DT_RX_DCS_LONG_READ) {
-                       DSSDBG("\tDCS long response, len %d\n",
+                       DSSERR("\tDCS long response, len %d\n",
                                        FLD_GET(val, 23, 8));
                        dsi_vc_flush_long_data(channel);
                } else {