> -----Original Message-----
> From: Ang, Chee Hong <[email protected]>
> Sent: Wednesday, August 5, 2020 5:33 PM
> To: [email protected]
> Cc: Phil Edworthy <[email protected]>; Vignesh R
> <[email protected]>; Tom Rini <[email protected]>; See, Chin Liang
> <[email protected]>; Tan, Ley Foon <[email protected]>; Ang,
> Chee Hong <[email protected]>; Chee, Tien Fong
> <[email protected]>; Lim, Elly Siew Chin
> <[email protected]>
> Subject: [PATCH v1] spi: cadence-qspi: Fix QSPI write issues
> 
> QSPI driver perform chip select on every flash read/write access. The driver
> need to disable/enable the QSPI controller while performing chip select. This
> may cause some data lost especially the QSPI controller is configured to run
> at slower speed as it may take longer time to access the flash device.
> This patch prevent the driver from disable/enable the QSPI controller too
> soon and inadvertently halting any ongoing flash read/write access by
> ensuring the QSPI controller is always in idle mode after each read/write
> access.
> 
> Signed-off-by: Chee Hong Ang <[email protected]>
> ---
>  drivers/spi/cadence_qspi_apb.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Ley Foon Tan <[email protected]>

Regards
Ley Foon

Reply via email to