spi: core: Ignore unsupported spi-[tr]x-bus-width property values
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 26 May 2014 12:05:25 +0000 (14:05 +0200)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:37 +0000 (09:21 +0900)
commitd44926bb4ffe1d3774348f836e16869db67b095a
tree4252b087734392b37680fa7f4702702c3c799a32
parent634ce8f32c7bf26271620a59b9c525df3bcceadd
spi: core: Ignore unsupported spi-[tr]x-bus-width property values

Rejecting unsupported values of spi-tx-bus-width and spi-rx-bus-width
may break compatibility with future DTs. Just ignore them, falling back
to Single SPI Transfers.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 80874d8c9e9cbfa195572dfea46f2314098b3869)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi.c