spi: cadence_qspi: Ensure spi_calibration is run when sclk change
authorChin Liang See <clsee@altera.com>
Sat, 17 Oct 2015 13:31:55 +0000 (08:31 -0500)
committerMarek Vasut <marex@denx.de>
Thu, 5 Nov 2015 01:34:15 +0000 (02:34 +0100)
commit98fbd71d7a4492e23377b8753cfd77add26c63ec
tree34e595244b6184436c416d772f2593a93684fc04
parentbfa3e55b440e120739d2b4dd4cb57e6b40752113
spi: cadence_qspi: Ensure spi_calibration is run when sclk change

Ensuring spi_calibration is run when there is a change of sclk
frequency. This will ensure the qspi flash access works for high
sclk frequency

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Vikas Manocha <vikas.manocha@st.com>
Cc: Jagannadh Teki <jteki@openedev.com>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h