]> Git Repo - J-u-boot.git/commit
spi: ti_qspi: Fix baudrate divider calculation
authorVignesh R <[email protected]>
Sat, 5 Nov 2016 10:35:16 +0000 (16:05 +0530)
committerTom Rini <[email protected]>
Sun, 13 Nov 2016 20:54:37 +0000 (15:54 -0500)
commit948b8bbd5fc4722ec10e0ffde29d31d982f6a6e4
treebb63e2efb3fd580df536632e9daa609862c91afe
parent84295f2a202b6c062ec17e148e3418af0db795f5
spi: ti_qspi: Fix baudrate divider calculation

Fix the divider calculation logic to choose a value so that the
resulting baudrate is either equal to or closest possible baudrate less
than the requested value. While at that, cleanup ti_spi_set_speed().

Signed-off-by: Vignesh R <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/spi/ti_qspi.c
This page took 0.033055 seconds and 4 git commands to generate.