]> git.hungrycats.org Git - linux/commit
spi: mux: set ctlr->bits_per_word_mask
authorDavid Lechner <dlechner@baylibre.com>
Tue, 9 Jul 2024 01:05:30 +0000 (20:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2024 07:53:40 +0000 (09:53 +0200)
commit2b1a43af319ac48b3a67de161eae40d1eee77f86
tree54e0309ea1c9e5fa15869ddd399b3c7365a6c0db
parent2836d54bd7499297bc81a984be04126495cc3359
spi: mux: set ctlr->bits_per_word_mask

[ Upstream commit c8bd922d924bb4ab6c6c488310157d1a27996f31 ]

Like other SPI controller flags, bits_per_word_mask may be used by a
peripheral driver, so it needs to reflect the capabilities of the
underlying controller.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20240708-spi-mux-fix-v1-3-6c8845193128@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-mux.c