drm/rockchip: dw-mipi-dsi: respect message flags
authorJohn Keeping <john@metanate.com>
Fri, 24 Feb 2017 12:54:51 +0000 (12:54 +0000)
committerSean Paul <seanpaul@chromium.org>
Wed, 1 Mar 2017 19:48:52 +0000 (14:48 -0500)
commit52c66e4f6e28f37239f21ed1b79c341d33f49655
tree8a6eb6e5ef3bdb21bb10bb2b676d64302f005889
parent028316fb6fe9c042fa2ab90e768d7733edfbaa89
drm/rockchip: dw-mipi-dsi: respect message flags

Instead of always sending commands in LP mode, respect the
MIPI_DSI_MSG_USE_LPM flag to decide how to send each message.  Also
request acks if MIPI_DSI_MSG_REQ_ACK is set.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-9-john@metanate.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c