]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: Define the capabilities in a continuous bit-flags set
authorBaikal Electronics <support@baikalelectronics.ru>
Mon, 15 Nov 2021 18:19:17 +0000 (21:19 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 16 Nov 2021 14:30:10 +0000 (14:30 +0000)
commit2e63ad2a87d01470fc55f52a6a4603dfe5ce3b71
treedb8ea6a27474eb07be25a1ce12c281e371e3eff0
parentb4e778a4a0041c7c08018ac30aff4c8b6a37a0ce
spi: dw: Define the capabilities in a continuous bit-flags set

Since the DW_SPI_CAP_DWC_HSSI capability has just been replaced with using
the DW SSI IP-core versions interface, the DW SPI capability flags are now
represented with a gap. Let's fix it by redefining the DW_SPI_CAP_DFS32
macro to setting BIT(2) of the capabilities field.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20211115181917.7521-8-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.h