]> git.baikalelectronics.ru Git - kernel.git/commit
spi: atmel-quadspi: Remove duplicated DTR checks
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 6 Apr 2022 13:36:04 +0000 (16:36 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 13 Apr 2022 15:43:13 +0000 (16:43 +0100)
commit97e8446ff695fb6f8c283086555d7c038cbe6ebe
tree50873e9ae04bdaac4f8e9fb6cb57ce5800da8baa
parentdbd6c2e032021adc9c8a59420031dd9960dd4fed
spi: atmel-quadspi: Remove duplicated DTR checks

Remove the DTR checks as they are already handled in
spi_mem_default_supports_op(). This code removal was intentionally not done
in the previous patch that introduced the use of the
spi_mem_default_supports_op() core helper and fixed the buswidth adjustment
between SPIMEM and the SPI controller, so that the fix can be easily
backported to stable kernels.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20220406133604.455356-2-tudor.ambarus@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c