[PATCH] ab8500: btemp: demote initcall sequence

Anton Vorontsov anton at enomsg.org
Sat Feb 2 22:21:30 EST 2013

On Wed, Jan 23, 2013 at 09:56:45AM +0530, Rajanikanth H.V wrote:
> From: "Rajanikanth H.V" <rajanikanth.hv at stericsson.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 at stericsson.com>
> ---

Applied and added Cc: stable.


More information about the linux-arm-kernel mailing list