Re: [PATCH] spi: stm32_qspi: Remove useless struct stm32_qspi_flash

2023-04-19 Thread Patrice CHOTARD
On 4/17/23 17:32, Patrick DELAUNAY wrote: > Hi, > > On 4/3/23 08:04, Patrice Chotard wrote: >> Currently, in stm32_qspi_claim_bus(), QSPI_CR and QSPI_DCR registers >> are saved in stm32_ospi_flash struct on first flash memory initialization >> and restored on each flash accesses. >> >> As the

Re: [PATCH] spi: stm32_qspi: Remove useless struct stm32_qspi_flash

2023-04-17 Thread Patrick DELAUNAY
Hi, On 4/3/23 08:04, Patrice Chotard wrote: Currently, in stm32_qspi_claim_bus(), QSPI_CR and QSPI_DCR registers are saved in stm32_ospi_flash struct on first flash memory initialization and restored on each flash accesses. As the logic of spi-uclass.c changed since 'commit 741280e9accd ("spi:

[PATCH] spi: stm32_qspi: Remove useless struct stm32_qspi_flash

2023-04-03 Thread Patrice Chotard
Currently, in stm32_qspi_claim_bus(), QSPI_CR and QSPI_DCR registers are saved in stm32_ospi_flash struct on first flash memory initialization and restored on each flash accesses. As the logic of spi-uclass.c changed since 'commit 741280e9accd ("spi: spi-uclass: Fix spi_claim_bus() speed/mode