[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140131165350.GR22609@sirena.org.uk>
Date: Fri, 31 Jan 2014 16:53:50 +0000
From: Mark Brown <broonie@...nel.org>
To: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Cc: Sangbeom Kim <sbkim73@...sung.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: s2mps11: Fix NULL pointer of_node value when
using platform data
On Thu, Jan 30, 2014 at 02:51:19PM +0100, Krzysztof Kozlowski wrote:
> When platform_data is used for regulator (of_node of sec-core MFD device
> is NULL) the config.of_node for regulator is not initialized. This NULL
> value of config.of_node is later stored during regulator_register().
> Thus any call by regulator consumers to of_get_regulator() will fail on
> of_parse_phandle() returning NULL.
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists