[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130629122648.GO27646@sirena.org.uk>
Date: Sat, 29 Jun 2013 13:26:48 +0100
From: Mark Brown <broonie@...nel.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Jonghwa Lee <jonghwa3.lee@...sung.com>,
Myungjoo Ham <myungjoo.ham@...sung.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: max77693: Skip register regulator if no
platform initialization data
On Sat, Jun 29, 2013 at 12:04:19PM +0800, Axel Lin wrote:
> The code in max77693_pmic_dt_parse_rdata() does skip setting rdata if
> !rmatch[i].init_data. So we may have some empty entries in rdata[].
> We need to skip register regulator if no platform initialization data,
> otherwise we may resiter regulator with invalid settings ( the empty entries
> of rdata[]).
It should be legal to have no init data, this should make the regulator
available read only (allowing the current settings to be read back but
nothing else).
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists