Re: [PATCH] olpc-ec: initialise earlier

From: Andrew Morton
Date: Wed Aug 14 2013 - 18:15:01 EST

On Sat, 10 Aug 2013 15:22:15 -0400 (EDT) Daniel Drake <dsd@xxxxxxxxxx> wrote:

> Being a low-level component, various drivers (e.g. olpc-battery) assume that
> it is ok to communicate with the OLPC Embedded Controller during probe.
> Therefore the OLPC EC driver must be initialised before other drivers try to
> use it. This was the case until it was recently moved out of arch/x86 and
> restructured.
> Use arch_initcall so that olpc-ec is readied earlier, matching the
> previous behaviour. Fixes various drivers such as olpc-battery and
> olpc-xo1-sci.

You imply that there was a regression, but don't describe the
user-visible effects of the regression.

You provide hints which would permit me, with sufficient effort, to
approximately work out which kernel versions were affected by the
regression and then left it at that.

I need to work out which kernel version(s) need patching, and why.
Please, make it easier for me!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at