Re: [PATCH 4/7] gpiolib: return any error code from range creation

2012-11-20 Thread Linus Walleij
On Tue, Nov 20, 2012 at 6:28 PM, Stephen Warren wrote: > On 11/20/2012 07:04 AM, Linus Walleij wrote: >> From: Linus Walleij >> >> If we try to create a range for a certain GPIO chip and the >> target pin controller is not yet available it may return >> a probe deferral error code, so handle this

Re: [PATCH 4/7] gpiolib: return any error code from range creation

2012-11-20 Thread Stephen Warren
On 11/20/2012 07:04 AM, Linus Walleij wrote: > From: Linus Walleij > > If we try to create a range for a certain GPIO chip and the > target pin controller is not yet available it may return > a probe deferral error code, so handle this all the way > our by checking the error code. I think patche

[PATCH 4/7] gpiolib: return any error code from range creation

2012-11-20 Thread Linus Walleij
From: Linus Walleij If we try to create a range for a certain GPIO chip and the target pin controller is not yet available it may return a probe deferral error code, so handle this all the way our by checking the error code. Signed-off-by: Linus Walleij --- drivers/gpio/gpiolib.c | 3 ++- 1 fi