]> git.sur5r.net Git - u-boot/commit
spi: cadence_qspi: Ensure check for max frequency in place
authorChin Liang See <clsee@altera.com>
Sat, 17 Oct 2015 13:32:38 +0000 (08:32 -0500)
committerMarek Vasut <marex@denx.de>
Thu, 5 Nov 2015 01:34:15 +0000 (02:34 +0100)
commit4e609b6cb1e6e8cb14c55fd50c73c5affcba26b5
treeffd2305483ba308f194d2fa2fcb02b9ee14b6a7d
parent040f4ba742700529d950a92da5ddbe99d9ae335e
spi: cadence_qspi: Ensure check for max frequency in place

Ensure the intended SCLK frequency not exceeding the maximum
frequency. If that happen, SCLK will set to maximum 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: Pavel Machek <pavel@denx.de>
drivers/spi/cadence_qspi.c