From f1d9dd7a98be91f795ed812c988db6ed9be4f73f Mon Sep 17 00:00:00 2001 From: Baptiste Chauloux Date: Fri, 18 Nov 2011 14:43:46 +0100 Subject: video: mcde: Add new display id for Sony driver. Currently only 0x1b81 is supported, with this patch 0x1a81 is added as well ST-Ericsson ID: 374867 ST-Ericsson FOSS-OUT ID: NA Change-Id: Idaf31050011d9f01c62d82fdea7fcb7103c95b4c Signed-off-by: Baptiste Chauloux Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38437 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG Reviewed-by: Per PERSSON Reviewed-by: Jimmy RUBIN --- drivers/video/mcde/display-sony_acx424akp_dsi.c | 3 ++- include/video/mcde_display-sony_acx424akp_dsi.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/mcde/display-sony_acx424akp_dsi.c b/drivers/video/mcde/display-sony_acx424akp_dsi.c index 7c4f69a0cae..b570e832893 100644 --- a/drivers/video/mcde/display-sony_acx424akp_dsi.c +++ b/drivers/video/mcde/display-sony_acx424akp_dsi.c @@ -298,7 +298,8 @@ static int __devinit sony_acx424akp_probe(struct mcde_display_device *dev) switch (id) { case DISPLAY_SONY_ACX424AKP: - pdata->disp_panel = DISPLAY_SONY_ACX424AKP; + case DISPLAY_SONY_ACX424AKP_ID2: + pdata->disp_panel = id; dev_info(&dev->dev, "Sony ACX424AKP display (ID 0x%.4X) probed\n", id); break; diff --git a/include/video/mcde_display-sony_acx424akp_dsi.h b/include/video/mcde_display-sony_acx424akp_dsi.h index 9f656fdcc3b..29fb14a3fdb 100644 --- a/include/video/mcde_display-sony_acx424akp_dsi.h +++ b/include/video/mcde_display-sony_acx424akp_dsi.h @@ -14,6 +14,7 @@ enum display_panel_type { DISPLAY_NONE = 0, DISPLAY_SONY_ACX424AKP = 0x1b81, + DISPLAY_SONY_ACX424AKP_ID2 = 0x1a81, }; struct mcde_display_sony_acx424akp_platform_data { -- cgit v1.2.3