diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-03-16 10:19:06 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-08-03 08:18:46 -0400 |
commit | 86a7867ebff675f5f5816222c5a2c64b35f8bea6 (patch) | |
tree | fa30c849c82d0977a1e8770bb5e98081b7a69cb7 /drivers | |
parent | 1ceafc00910439c8e5450fae189b69427725992c (diff) |
OMAP: DSS2: DSI: print errors in dsi_vc_flush_receive_data()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index eb90de5e1078..542c6e2a3ff1 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -1854,19 +1854,19 @@ static u16 dsi_vc_flush_receive_data(int channel) | |||
1854 | u32 val; | 1854 | u32 val; |
1855 | u8 dt; | 1855 | u8 dt; |
1856 | val = dsi_read_reg(DSI_VC_SHORT_PACKET_HEADER(channel)); | 1856 | val = dsi_read_reg(DSI_VC_SHORT_PACKET_HEADER(channel)); |
1857 | DSSDBG("\trawval %#08x\n", val); | 1857 | DSSERR("\trawval %#08x\n", val); |
1858 | dt = FLD_GET(val, 5, 0); | 1858 | dt = FLD_GET(val, 5, 0); |
1859 | if (dt == DSI_DT_RX_ACK_WITH_ERR) { | 1859 | if (dt == DSI_DT_RX_ACK_WITH_ERR) { |
1860 | u16 err = FLD_GET(val, 23, 8); | 1860 | u16 err = FLD_GET(val, 23, 8); |
1861 | dsi_show_rx_ack_with_err(err); | 1861 | dsi_show_rx_ack_with_err(err); |
1862 | } else if (dt == DSI_DT_RX_SHORT_READ_1) { | 1862 | } else if (dt == DSI_DT_RX_SHORT_READ_1) { |
1863 | DSSDBG("\tDCS short response, 1 byte: %#x\n", | 1863 | DSSERR("\tDCS short response, 1 byte: %#x\n", |
1864 | FLD_GET(val, 23, 8)); | 1864 | FLD_GET(val, 23, 8)); |
1865 | } else if (dt == DSI_DT_RX_SHORT_READ_2) { | 1865 | } else if (dt == DSI_DT_RX_SHORT_READ_2) { |
1866 | DSSDBG("\tDCS short response, 2 byte: %#x\n", | 1866 | DSSERR("\tDCS short response, 2 byte: %#x\n", |
1867 | FLD_GET(val, 23, 8)); | 1867 | FLD_GET(val, 23, 8)); |
1868 | } else if (dt == DSI_DT_RX_DCS_LONG_READ) { | 1868 | } else if (dt == DSI_DT_RX_DCS_LONG_READ) { |
1869 | DSSDBG("\tDCS long response, len %d\n", | 1869 | DSSERR("\tDCS long response, len %d\n", |
1870 | FLD_GET(val, 23, 8)); | 1870 | FLD_GET(val, 23, 8)); |
1871 | dsi_vc_flush_long_data(channel); | 1871 | dsi_vc_flush_long_data(channel); |
1872 | } else { | 1872 | } else { |