]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hx4700: regulator: declare full constraints
authorMartin Vajnar <martin.vajnar@gmail.com>
Tue, 23 Dec 2014 23:27:57 +0000 (00:27 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 26 Dec 2014 17:05:32 +0000 (18:05 +0100)
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>
arch/arm/mach-pxa/hx4700.c

index c66ad4edc5e35e64512a03f999c69a24805566fa..5fb41ad6e3bcdcdc3b07fb20382c980b7e7dfa9e 100644 (file)
@@ -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")