]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: spi-davinci: Don't error when SPI_CS_WORD and cs_gpio
authorDavid Lechner <david@lechnology.com>
Tue, 18 Sep 2018 17:08:49 +0000 (12:08 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 18 Sep 2018 17:40:34 +0000 (10:40 -0700)
commitf34ecdbd5661816ce8bbd7511f33181ffa8f4895
treef41b1ce59c3fc9733cd81bc714bc4a9286543573
parent71388b21569754ecd36eabd66fd9ca8c6d761fed
spi: spi-davinci: Don't error when SPI_CS_WORD and cs_gpio

This remove the check and subsequent return of error for the case when
a SPI device requires SPI_CS_WORD and is also configured to use a GPIO
for the CS line.

Commit a134cc414e86 ("spi: always use software fallback for SPI_CS_WORD
when using cs_gio") handles this case now, so this check is no longer
necessary.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-davinci.c