Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level'

From: Vladimir Zapolskiy
Date: Thu Sep 15 2016 - 09:18:40 EST


Hi Linus, Guenter,

On 09/14/2016 10:19 AM, Linus Walleij wrote:
On Wed, Sep 14, 2016 at 5:20 AM, Guenter Roeck <linux@xxxxxxxxxxxx>
wrote:

So, in other words, lots of bugs here. Nevertheless, I would
suggest to keep using postcore_initcall(), at least until it is
sure that all gpio clients handle -EPROBE_DEFER correctly.

So can I just revert this patch in isolation? None of the other
patches depend on it?


no, its revert I believe will break (at least cause -EPROBE_DEFER)
on most of modern iMX platforms.

Let me check the essense of the problem, in my opinion it would
be better to fix kzm target.

Guenter, thank you for the early report.

--
With best wishes,
Vladimir