]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spl022: fix Microwire full duplex mode
authorThomas Perrot <thomas.perrot@bootlin.com>
Fri, 22 Oct 2021 14:21:04 +0000 (16:21 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 Oct 2021 10:53:57 +0000 (11:53 +0100)
commitd07383f01121811dfe287dd78be40bb7c97b0447
treeb9fc95295c9539dac0c84609a97465df04a538ef
parent6f17c90b00c77853722b84d59e89d1c868b2a828
spi: spl022: fix Microwire full duplex mode

There are missing braces in the function that verify controller parameters,
then an error is always returned when the parameter to select Microwire
frames operation is used on devices allowing it.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Link: https://lore.kernel.org/r/20211022142104.1386379-1-thomas.perrot@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pl022.c