[PATCH 1/1] regulator: gpio-regulator: fix crash when no states property in dt
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Nov 13 03:17:22 EST 2012
On Tue, Nov 13, 2012 at 04:12:14PM +0800, Frank Li wrote:
> Yes, I tested it.
> I use gpio-enable to turn on\off a sensor power switcher.
> the below is a part of my dt file.
You should really use a fixed voltage regulator here, or fix the code so
you can specify a voltage for the gpio regulator when no GPIO is
specified (ideally the two drivers would be unified but that's another
story and mostly orthogonal to the DT).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121113/5c5a887c/attachment.sig>
More information about the linux-arm-kernel
mailing list