summaryrefslogtreecommitdiffstats
path: root/mm/msync.c
diff options
context:
space:
mode:
authorMichael Welling <mwelling@ieee.org>2014-04-17 03:00:24 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 10:28:16 +0200
commit99e4b98dbe3ad1fe38a74d12c3b8d44a55930de4 (patch)
tree209a4794bec9611e0c0255c5057a541fee6b209d /mm/msync.c
parentgpio: ich: set regs and reglen for i3100 and ich6 chipset (diff)
downloadlinux-99e4b98dbe3ad1fe38a74d12c3b8d44a55930de4.tar.xz
linux-99e4b98dbe3ad1fe38a74d12c3b8d44a55930de4.zip
gpio: mcp23s08: Bug fix of SPI device tree registration.
The chips variable needs to be incremented for each chip that is found in the spi_present_mask when registering via device tree. Without this and the checking a negative index is passed to the data->chip array in a subsequent loop. Cc: stable@vger.kernel.org Signed-off-by: Michael Welling <mwelling@ieee.org> Acked-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions