[PATCH] ARM: amba: adapt to regulator probe deferral change
From: Shawn Guo <hidden>
Date: 2012-03-31 01:33:45
From: Shawn Guo <hidden>
Date: 2012-03-31 01:33:45
On Fri, Mar 30, 2012 at 11:23:13AM -0300, Fabio Estevam wrote:
On Fri, Mar 30, 2012 at 10:55 AM, Shawn Guo [off-list ref] wrote:quoted
The commit 04bf301 (regulator: Support driver probe deferral) changes regulator_get() and regulator_register() to return -EPROBE_DEFER instead of -ENODEV. ?Adapt amba bus driver to the change, otherwise amba_probe() will fail on the platforms that do not have "vcore" regulator device. It fixes the boot failure on i.mx28 which uses amba-pl011 as serial console.Tested this patch in linux-next-20120330 and my mx28evk still does not boot. Any other patch is needed?
Yes. One more fix is needed. serial: PL011: move interrupt clearing http://permalink.gmane.org/gmane.linux.ports.arm.kernel/158694 -- Regards, Shawn