ARM: pxa: fix dm9000 platform data regression
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 11 Jul 2015 19:33:06 +0000 (21:33 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Thu, 16 Jul 2015 20:43:59 +0000 (22:43 +0200)
commita927ef895e288e79f1bfed221f27d7bfa37e907f
tree654b102e59bd41424edcd7ab5e4a85c2f0b7c71a
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ARM: pxa: fix dm9000 platform data regression

Since dm9000 driver added support for a vcc regulator, platform data
based platforms have their ethernet broken, as the regulator claiming
returns -EPROBE_DEFER and prevents dm9000 loading.

This patch fixes this for all pxa boards using dm9000, by using the
specific regulator_has_full_constraints() function.

This was discovered and tested on the cm-x300 board.

Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
arch/arm/mach-pxa/capc7117.c
arch/arm/mach-pxa/cm-x2xx.c
arch/arm/mach-pxa/cm-x300.c
arch/arm/mach-pxa/colibri-pxa270.c
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/icontrol.c
arch/arm/mach-pxa/trizeps4.c
arch/arm/mach-pxa/vpac270.c
arch/arm/mach-pxa/zeus.c