Messages in this thread | | | Date | Thu, 9 Aug 2012 19:57:01 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] regulator: core: request only valid gpio pins for regulator enable |
| |
On Thu, Aug 09, 2012 at 04:33:00PM +0200, Marek Szyprowski wrote: > Commit 65f735082de3 ("regulator: core: Add core support for GPIO controlled > enable lines") introduced enable gpio entry in regulator configuration > structure. Some drivers use '-1' as a placeholder for marking that such > gpio line is not available, because '0' is considered as a valid gpio > number. This patch fixes initialization of such drivers (like MAX8952 > on UniversalC210 board), when '-1' is provided as enable gpio pin in the > regulator's platform data.
Applied, thanks.
| |