Name

mipi_dsi_create_packet — create a packet from a message according to the DSI protocol

Synopsis

int mipi_dsi_create_packet (struct mipi_dsi_packet * packet,
 const struct mipi_dsi_msg * msg);
 

Arguments

packet

pointer to a DSI packet structure

msg

message to translate into a packet

Return

0 on success or a negative error code on failure.