]> git.ipfire.org Git - people/ms/linux.git/commit
ARM: pxa: add regulator_has_full_constraints to poodle board file
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 4 Dec 2014 11:10:01 +0000 (14:10 +0300)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:21 +0000 (23:34 +0100)
commit71d9abaaf54f07b4d89d0e5c3bf03fee75e961b4
tree418edb459e841ac075c2ec4eeadabd90b5440565
parent2b563e615042a8c4b24bdac3216069c077286802
ARM: pxa: add regulator_has_full_constraints to poodle board file

commit 9bc78f32c2e430aebf6def965b316aa95e37a20c upstream.

Add regulator_has_full_constraints() call to poodle 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 poodle if
regulators are enabled:

ads7846 spi1.0: unable to get regulator: -517
spi spi1.0: Driver ads7846 requests probe deferral
wm8731 0-001b: Failed to get supply 'AVDD': -517
wm8731 0-001b: Failed to request supplies: -517
wm8731 0-001b: ASoC: failed to probe component -517

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm/mach-pxa/poodle.c