Commit 0d37ee38 authored by Thomas Betker's avatar Thomas Betker Committed by Michal Simek
Browse files

spi: zynq-qspi: Fix BAUD_RATE_DIV calculation



In xqspips_setup_transfer(), loop while baud_rate_val < 7, not < 8;
otherwise, we may end up with BAUD_RATE_DIV = 8, which is invalid.

Signed-off-by: default avatarThomas Betker <thomas.betker@rohde-schwarz.com>
Reviewed-by: default avatarHarini Katakam <harinik@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent e31cfa9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment