Re: [PATCH] ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation

From: Aaro Koskinen
Date: Tue Mar 19 2019 - 21:01:55 EST


On Tue, Mar 19, 2019 at 09:19:52PM +0100, Janusz Krzysztofik wrote:
> In order to request dynamic allocationn of GPIO IDs, a negative number
> should be passed as a base GPIO ID via platform data. Unfortuntely,
> commit 771e53c4d1a1 ("ARM: OMAP1: ams-delta: Drop board specific global
> GPIO numbers") didn't follow that rule while switching to dynamically
> allocated GPIO IDs for Amstrad Delta latches, making their IDs
> overlapping with those already assigned to OMAP GPIO devices. Fix it.
>
> Fixes: 771e53c4d1a1 ("ARM: OMAP1: ams-delta: Drop board specific global GPIO numbers")
> Signed-off-by: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Acked-by: Aaro Koskinen <aaro.koskinen@xxxxxx>

A.