]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMark Brown <broonie@linaro.org>
Mon, 26 May 2014 14:28:47 +0000 (15:28 +0100)
commit81ad08ede5b34c07665217764121731222351e4e
tree641a05310b18cf157fc0f56f84e850f812326557
parenta9116735f8ea7d82ce67bb4e70a4641f1598b4f8
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>
drivers/spi/spi.c