summaryrefslogtreecommitdiff
path: root/drivers/video/exynos_mipi_dsi_lowlevel.c
diff options
context:
space:
mode:
authorDonghwa Lee <dh09.lee@samsung.com>2013-08-05 13:34:32 +0900
committerAnatolij Gustschin <agust@denx.de>2013-08-12 22:39:07 +0200
commit9c17a32591eeb855305a24f200dbe441c82d0326 (patch)
tree36ea4b0f9d55f9d2a33447359318bab85b8a61dc /drivers/video/exynos_mipi_dsi_lowlevel.c
parent785566312551ee0c3c7e352cb93f30998ebcdd16 (diff)
exynos: video: change mipi dsi write function parameters correctly
This patch have changed mipi dsi write functions' parameters correctly so that type cast operations were removed. And mipi dsi payload is composed with array of panel commands to improve readability. Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Diffstat (limited to 'drivers/video/exynos_mipi_dsi_lowlevel.c')
-rw-r--r--drivers/video/exynos_mipi_dsi_lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/exynos_mipi_dsi_lowlevel.c b/drivers/video/exynos_mipi_dsi_lowlevel.c
index b47eee45de..1313bcea4c 100644
--- a/drivers/video/exynos_mipi_dsi_lowlevel.c
+++ b/drivers/video/exynos_mipi_dsi_lowlevel.c
@@ -600,7 +600,7 @@ unsigned int exynos_mipi_dsi_get_fifo_state(struct mipi_dsim_device *dsim)
}
void exynos_mipi_dsi_wr_tx_header(struct mipi_dsim_device *dsim,
- unsigned int di, unsigned int data0, unsigned int data1)
+ unsigned int di, const unsigned char data0, const unsigned char data1)
{
struct exynos_mipi_dsim *mipi_dsim =
(struct exynos_mipi_dsim *)samsung_get_base_mipi_dsim();