]> www.infradead.org Git - users/hch/xfs.git/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)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jul 2024 16:42:33 +0000 (17:42 +0100)
commitc8bd922d924bb4ab6c6c488310157d1a27996f31
tree88f5b839a47be25bc5489cdcb2906013b342bd07
parentca52aa4c60f76566601b42e935b8a78f0fb4f8eb
spi: mux: set ctlr->bits_per_word_mask

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>
drivers/spi/spi-mux.c