summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Chauloux <baptiste.chauloux@stericsson.com>2011-11-18 14:43:46 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:20 +0200
commitf1d9dd7a98be91f795ed812c988db6ed9be4f73f (patch)
treeae5f1f88ac78e4fcfc26f35be48373ab6a5235e9
parent38dd80f75abd11e1feb82415e371e46ed519cd63 (diff)
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 <baptiste.chauloux@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38437 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
-rw-r--r--drivers/video/mcde/display-sony_acx424akp_dsi.c3
-rw-r--r--include/video/mcde_display-sony_acx424akp_dsi.h1
2 files changed, 3 insertions, 1 deletions
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 {