Re: [PATCH] mfd: arizona: Correct handling of device tree gpio defaults

2013-10-03 Thread Lee Jones
On Thu, 03 Oct 2013, Charles Keepax wrote: > The intention is that all out of range values should cause the chips > default settings to be used and a value of zero should be treated > literally. Currently all out of range values will hit the second if and > be treated as a literal zero. This patch

[PATCH] mfd: arizona: Correct handling of device tree gpio defaults

2013-10-03 Thread Charles Keepax
The intention is that all out of range values should cause the chips default settings to be used and a value of zero should be treated literally. Currently all out of range values will hit the second if and be treated as a literal zero. This patch adds an else to fix this issue. Reported-by: Heath