]> git.baikalelectronics.ru Git - kernel.git/commit
spi: ath79: always call chipselect function
authorDavid Bauer <mail@david-bauer.net>
Wed, 3 Mar 2021 16:08:36 +0000 (17:08 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 12:25:13 +0000 (12:25 +0000)
commit205738e1bba9b161df1f7bcb67b7ebb63048ffe8
tree34617dabbbeb9e6fb77d373e487f5147da44955d
parent83c80256216cbc552de3653a65057412336159e1
spi: ath79: always call chipselect function

spi-bitbang has to call the chipselect function on the ath79 SPI driver
in order to communicate with the SPI slave device, as the ath79 SPI
driver has three dedicated chipselect lines but can also be used with
GPIOs for the CS lines.

Fixes commit b838219cd3ee ("spi: bitbang: Make chipselect callback optional")

Signed-off-by: David Bauer <mail@david-bauer.net>
Link: https://lore.kernel.org/r/20210303160837.165771-1-mail@david-bauer.net
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ath79.c