Commit 17392a1a49bb558d36ac956e663a239bc7ebd7c9

Authored by Martin Vajnar
Committed by Greg Kroah-Hartman
1 parent d7e48886e5

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

arch/arm/mach-pxa/hx4700.c
... ... @@ -893,6 +893,8 @@
893 893 mdelay(10);
894 894 gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1);
895 895 mdelay(10);
  896 +
  897 + regulator_has_full_constraints();
896 898 }
897 899  
898 900 MACHINE_START(H4700, "HP iPAQ HX4700")