OSDN Git Service

OMAP: DSS2: DSI: Split dsi_vc_dcs_read() into 2 functions
authorArchit Taneja <archit@ti.com>
Tue, 30 Aug 2011 10:18:23 +0000 (15:48 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:27 +0000 (16:16 +0300)
commitb850975cd8857d9f277466e2a3cca5ee28519c6b
tree96fe0749a324273b2b97a313a4de05fafb6df1e5
parent5c716a04ed1f5b8a3e1a8953b71f89441a70d1d4
OMAP: DSS2: DSI: Split dsi_vc_dcs_read() into 2 functions

Split dsi_vc_dcs_read() into the functions:
- dsi_vc_dcs_send_read_request(): This is responsible for sending the short
packet command with the read request.
- dsi_vc_dcs_read_rx_fifo(): This parses the DSI RX fifo of the given virtual
channel, identifies the type of data received, and fills a buffer with the data
provided by the panel.

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