Re: [PATCH] gpio: samsung: Fix off-by-one bug in gpio addresses

From: Linus Walleij
Date: Sun Aug 05 2012 - 06:00:41 EST


On Fri, Jul 20, 2012 at 10:58 PM, Sean Paul <seanpaul@xxxxxxxxxxxx> wrote:

> Move gpc4 to the end of the automatically processed gpio controllers so
> we don't taint the automatic offset calculation.
>
> This bug caused all controllers coming after gpc4 to map to the
> incorrect address. The result is <&gpd1 0 0 0 0> would actually map to
> GPIO 0 in gpd0.
>
> Signed-off-by: Sean Paul <seanpaul@xxxxxxxxxxxx>

Patch applied with some Acks and Reviewed-by's.

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/