diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2014-12-04 14:10:02 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-05-10 01:16:11 +0300 |
commit | 40001726a970d38ce20af1c91563c37fbf1e6447 (patch) | |
tree | 6e96788d7fdd8f6e3e66bf700a6f254026e36e3a | |
parent | 4ba2987dd7a28584355ce42dc63eb2faa52023a4 (diff) | |
download | linux-40001726a970d38ce20af1c91563c37fbf1e6447.tar.xz |
ARM: pxa: add regulator_has_full_constraints to spitz board file
commit baad2dc49c5d970ea881d92981a1b76c94a7b7a1 upstream.
Add regulator_has_full_constraints() call to spitz board file to let
regulator core know that we do not have any additional regulators left.
This lets it substitute unprovided regulators with dummy ones.
This fixes the following warnings that can be seen on spitz if
regulators are enabled:
ads7846 spi2.0: unable to get regulator: -517
spi spi2.0: Driver ads7846 requests probe deferral
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 953a9195f9e5..0451bbd4b826 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c @@ -969,6 +969,8 @@ static void __init spitz_init(void) spitz_nor_init(); spitz_nand_init(); spitz_i2c_init(); + + regulator_has_full_constraints(); } static void __init spitz_fixup(struct tag *tags, char **cmdline, |