lkml.org 
[lkml]   [2012]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: Check SET[1|2|3] GPIO settings earlier
On Tue, Mar 13, 2012 at 10:58:20AM +0800, Axel Lin wrote:
> Unused GPIO is marked as -1, we need to check if one of the gpio is set to 0
> here because gpio_is_valid considers 0 as a valid gpio.

This will break existing boards, we need to manage the transfer more
gracefully and complain if we're using a GPIO 0. Though I'm not sure
it's worth bothering, I hope no modern gpiolib implementation will do
this.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-03-14 00:15    [from the cache]
©2003-2011 Jasper Spaans