]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/spi/spi.c
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)
commit80874d8c9e9cbfa195572dfea46f2314098b3869
tree641a05310b18cf157fc0f56f84e850f812326557
parenteee668a92bc775030178c8a7f0d0abe9cce441d7
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