+ drivers-platform-olpc-olpc-ecc-initialise-earlier.patch added to -mm tree
Subject: + drivers-platform-olpc-olpc-ecc-initialise-earlier.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 14 Aug 2013 15:15:58 -0700
The patch titled
Subject: drivers/platform/olpc/olpc-ec.c: initialise earlier
has been added to the -mm tree. Its filename is
drivers-platform-olpc-olpc-ecc-initialise-earlier.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-platform-olpc-olpc-ecc-initialise-earlier.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-platform-olpc-olpc-ecc-initialise-earlier.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Daniel Drake <[email protected]>
Subject: drivers/platform/olpc/olpc-ec.c: initialise earlier
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.
---
drivers/platform/olpc/olpc-ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/olpc/olpc-ec.c renamed from drivers/platform/olpc/olpc-ec.c~drivers-platform-olpc-olpc-ecc-initialise-earlier +1 -1
@@ -330,7 +330,7 @@ static int __init olpc_ec_init_module(voreturn platform_driver_register (&olpc_ec_plat_driver); } -module_init (olpc_ec_init_module); +arch_initcall (olpc_ec_init_module);MODULE_AUTHOR ("Andres Salomon <[email protected]>" );MODULE_LICENSE ("GPL" );
_
Patches currently in -mm which might be from [email protected] are
drivers-platform-olpc-olpc-ecc-initialise-earlier.patch linux-next.patch