Home
last modified time | relevance | path

Searched hist:"2984 e7a102aec85a39827b314bc898ebb5d2fdb9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dgpio-uclass.cdiff 2984e7a102aec85a39827b314bc898ebb5d2fdb9 Tue Mar 31 11:57:16 CDT 2015 Przemyslaw Marczak <p.marczak@samsung.com> dm: gpio: request list: return the count if requests max_count reached

The function gpio_request_list_by_name_nodev() returned -ENOSPC error,
when the loop count was greater than requested count. This was wrong,
because function should return the requested gpio count, when meets
the call request without errors. Now, the loop ends on requested
max_count.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>