summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMartin Vajnar <martin.vajnar@gmail.com>2014-12-24 02:27:57 +0300
committerZefan Li <lizefan@huawei.com>2015-06-19 06:40:10 +0300
commit0d51bca9808936920dd6042743b002a4d85c6fec (patch)
tree173a0d174c1841fa34ee6beafb6368aa6de267b5 /arch/arm
parent3df3cce4efd1004907d1abd75f34465ae62c9954 (diff)
downloadlinux-0d51bca9808936920dd6042743b002a4d85c6fec.tar.xz
hx4700: regulator: declare full constraints
commit a52d209336f8fc7483a8c7f4a8a7d2a8e1692a6c upstream. 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". Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Zefan Li <lizefan@huawei.com>
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 b83b95a29503..f35a30f19874 100644
--- a/arch/arm/mach-pxa/hx4700.c
+++ b/arch/arm/mach-pxa/hx4700.c
@@ -881,6 +881,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")