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

2013-10-03 Thread Lee Jones
On Thu, 03 Oct 2013, Charles Keepax wrote: > When settings the gpio defaults from data contained in device tree > all values that fit in 16-bits should be treated literally, any > value greater than 16-bits should cause the chips default to be used > for that gpio pin. A zero value in the gpio def

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

2013-10-03 Thread Charles Keepax
When settings the gpio defaults from data contained in device tree all values that fit in 16-bits should be treated literally, any value greater than 16-bits should cause the chips default to be used for that gpio pin. A zero value in the gpio default array in pdata represents that we should leave