diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2019-03-19 23:19:52 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-03-23 01:30:20 +0300 |
commit | 3e2cf62efec52fb49daed437cc486c3cb9a0afa2 (patch) | |
tree | 80dee63c5a4d2374806779b885dd11b825dcc858 /drivers/spi | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) | |
download | linux-3e2cf62efec52fb49daed437cc486c3cb9a0afa2.tar.xz |
ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation
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@gmail.com>
Cc: stable@vger.kernel.org
Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions