mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
baad2dc49c
commit
a52d209336
1 changed files with 2 additions and 0 deletions
|
@ -893,6 +893,8 @@ static void __init hx4700_init(void)
|
||||||
mdelay(10);
|
mdelay(10);
|
||||||
gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1);
|
gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1);
|
||||||
mdelay(10);
|
mdelay(10);
|
||||||
|
|
||||||
|
regulator_has_full_constraints();
|
||||||
}
|
}
|
||||||
|
|
||||||
MACHINE_START(H4700, "HP iPAQ HX4700")
|
MACHINE_START(H4700, "HP iPAQ HX4700")
|
||||||
|
|
Loading…
Reference in a new issue