summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-stm32.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2022-10-16 17:57:22 +0200
committerMark Brown <broonie@kernel.org>2022-10-19 15:36:43 +0200
commitf8aa6c895d482847c9b799dcdac8bbdb56cb8e04 (patch)
treec3f146fc89013a6bddddc5683c0a208be922b6b7 /drivers/spi/spi-stm32.c
parentspi: qup: support using GPIO as chip select line (diff)
downloadlinux-f8aa6c895d482847c9b799dcdac8bbdb56cb8e04.tar.xz
linux-f8aa6c895d482847c9b799dcdac8bbdb56cb8e04.zip
spi: aspeed: Fix window offset of CE1
The offset value of the mapping window in the kernel structure is calculated using the value of the previous window offset. This doesn't reflect how the HW is configured and can lead to erroneous setting of the second flash device (CE1). Cc: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> Fixes: e3228ed92893 ("spi: spi-mem: Convert Aspeed SMC driver to spi-mem") Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20221016155722.3520802-1-clg@kaod.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-stm32.c')
0 files changed, 0 insertions, 0 deletions