summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarcus Lorentzon <marcus.xm.lorentzon@stericsson.com>2011-11-14 19:27:27 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:42 +0200
commit0bfe9d48dd816bae68bf77135de6de3239b93edd (patch)
tree6185e0f0c49776f9e95c7b26edfcc4389c55eca3 /arch
parent22e95f7d3fc1c7c78b6a9947934387187a4a2a81 (diff)
ux500: touch: Align touch with display
When hiding display physical orientation in previous patch touch gets out of sync with display. This patch realign touch with display. ST-Ericsson ID: 368097 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I49ee8e5cb0b9646c4b5f84a2d679f683c35c28ce Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37720 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/board-u5500.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-ux500/board-u5500.c b/arch/arm/mach-ux500/board-u5500.c
index 7cbf887e506..05937a63919 100644
--- a/arch/arm/mach-ux500/board-u5500.c
+++ b/arch/arm/mach-ux500/board-u5500.c
@@ -77,14 +77,8 @@ static struct lsm303dlh_platform_data __initdata lsm303dlh_pdata = {
static struct synaptics_rmi4_platform_data rmi4_i2c_platformdata = {
.irq_number = NOMADIK_GPIO_TO_IRQ(179),
.irq_type = (IRQF_TRIGGER_FALLING | IRQF_SHARED),
-#if defined(CONFIG_DISPLAY_GENERIC_DSI_PRIMARY_ROTATION_ANGLE) && \
- CONFIG_DISPLAY_GENERIC_DSI_PRIMARY_ROTATION_ANGLE == 270
- .x_flip = true,
- .y_flip = false,
-#else
.x_flip = false,
.y_flip = true,
-#endif
.regulator_en = true,
};