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)
commit8fe21d6b347247227c349c9b2f7c462fae362af4
treee2278ac3989945bcb61479bfeed663bd18419e91
parentea23578611dce2eeaf31dcfe12cd7130cf3d1411
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