-
由 Michael Welling 提交于
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: NMichael Welling <mwelling@ieee.org> Acked-by: NPeter Korsgaard <peter@korsgaard.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
99e4b98d