summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMartin Vajnar <martin.vajnar@gmail.com>2014-12-23 23:27:57 (GMT)
committerRobert Jarzmik <robert.jarzmik@free.fr>2014-12-26 17:05:32 (GMT)
commita52d209336f8fc7483a8c7f4a8a7d2a8e1692a6c (patch)
tree128fd39396a4042b7dd74d73bd1c5b6278c139bb /arch/arm
parentbaad2dc49c5d970ea881d92981a1b76c94a7b7a1 (diff)
downloadlinux-a52d209336f8fc7483a8c7f4a8a7d2a8e1692a6c.tar.xz
hx4700: regulator: declare full constraints
Since the removal of CONFIG_REGULATOR_DUMMY option, the touchscreen stopped working. This patch enables the "replacement" for REGULATOR_DUMMY and allows the touchscreen to work even though there is no regulator for "vcc". Cc: stable@vger.kernel.org Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-pxa/hx4700.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c
index c66ad4e..5fb41ad 100644
--- a/arch/arm/mach-pxa/hx4700.c
+++ b/arch/arm/mach-pxa/hx4700.c
@@ -893,6 +893,8 @@ static void __init hx4700_init(void)
mdelay(10);
gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1);
mdelay(10);
+
+ regulator_has_full_constraints();
}
MACHINE_START(H4700, "HP iPAQ HX4700")