Messages in this thread | | | Date | Sat, 29 Jun 2013 13:26:48 +0100 | From | Mark Brown <> | 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). [unhandled content-type:application/pgp-signature] | |