]> git.baikalelectronics.ru Git - kernel.git/commit
spi: HiSilicon v3xx: Properly set CMD_CONFIG for Dual/Quad modes
authorJohn Garry <john.garry@huawei.com>
Fri, 28 Feb 2020 15:18:50 +0000 (23:18 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 28 Feb 2020 18:01:43 +0000 (18:01 +0000)
commit54ecb2cab6872fed74d7bc4a6809b208377338f9
treee2278ac3989945bcb61479bfeed663bd18419e91
parentdf7fe66f31c102b580e7327cb1433bda5d887880
spi: HiSilicon v3xx: Properly set CMD_CONFIG for Dual/Quad modes

The CMD_CONFIG register memory interface type field is not set configured
for Dual and Quad modes, so set appropriately.

This was not detected previously as we only ever operated in standard SPI
mode.

Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1582903131-160033-3-git-send-email-john.garry@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-hisi-sfc-v3xx.c