OMAP: DSS2: DSI: Pass pointer to struct to packet_sent_handler isrs
authorArchit Taneja <archit@ti.com>
Thu, 12 May 2011 11:56:28 +0000 (17:26 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 12 May 2011 16:30:26 +0000 (19:30 +0300)
commit2e868dbe1d24a908fcb4dee0733500fd0aab0bce
tree229488d1c07a65651b65d9026758e7571b2aea86
parentf1da39d9ce8490c5652768180454a816eb043b48
OMAP: DSS2: DSI: Pass pointer to struct to packet_sent_handler isrs

dsi_packet_sent_handler_vp() and dsi_packet_sent_handler_l4() currently
receive the completion parameter as their argument. This is not sufficient
information to differentiate between DSI1 and DSI2 platform devices.

Pass the struct "dsi_packet_sent_handler_data" to the packet_sent_handler
isrs, these contain the platform_device pointer of the DSI device and the
pointer to the completion struct.

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