Skip to content
Commit 9c84159c authored by Grzegorz Jaszczyk's avatar Grzegorz Jaszczyk Committed by Stefan Roese
Browse files

spi: kirkwood: prevent limiting speed to 0



After commit 1fe929ed497bcc8975be8d37383ebafd22b99dd2
("spi: kirkwood: prevent configuring speed exceeding max controller freq")
the spi frequency could be set to 0 on platform where spi-max-frequency
is not defined (e.g. on armada-388-gp). Prevent limiting speed in
mentioned cases.

Signed-off-by: default avatarGrzegorz Jaszczyk <jaz@semihalf.com>
Tested-by: default avatarKostya Porotchkin <kostap@marvell.com>
Reviewed-by: default avatarMarcin Wojtas <marcin@marvell.com>
Reviewed-by: default avatarKostya Porotchkin <kostap@marvell.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 562f8d5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment