[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130203032130.GB25016@lizard.sbx00618.mountca.wayport.net>
Date: Sat, 2 Feb 2013 19:21:30 -0800
From: Anton Vorontsov <anton@...msg.org>
To: "Rajanikanth H.V" <rajanikanth.hv@...ricsson.com>
Cc: linus.walleij@...ricsson.com, arnd@...db.de,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linaro-dev@...ts.linaro.org, patches@...aro.org,
STEricsson_nomadik_linux@...t.st.com
Subject: Re: [PATCH] ab8500: btemp: demote initcall sequence
On Wed, Jan 23, 2013 at 09:56:45AM +0530, Rajanikanth H.V wrote:
> From: "Rajanikanth H.V" <rajanikanth.hv@...ricsson.com>
>
> Power supply subsystem creates thermal zone device for
> the property 'POWER_SUPPLY_PROP_TEMP' which requires
> thermal subsystem to be ready before 'ab8500 battery temperature monitor'
> driver is initialized.
> ab8500 btemp driver is initialized with subsys_initcall whereas thermal
> subsystem is initialized with fs_initcall which causes
> thermal_zone_device_register(...) to crash since the required structure
> 'thermal_class' is not initialized yet.
>
> crash log:
[...]
> Signed-off-by: Rajanikanth H.V <rajanikanth.hv@...ricsson.com>
> ---
Applied and added Cc: stable.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists