From 0bfe9d48dd816bae68bf77135de6de3239b93edd Mon Sep 17 00:00:00 2001 From: Marcus Lorentzon Date: Mon, 14 Nov 2011 19:27:27 +0100 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37720 Reviewed-by: Jimmy RUBIN Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR --- arch/arm/mach-ux500/board-u5500.c | 6 ------ 1 file changed, 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, }; -- cgit v1.2.3