Skip to content
Snippets Groups Projects
Commit 60e2809a authored by Simon Glass's avatar Simon Glass
Browse files

dm: spi: Avoid setting the speed with every transfer


Only set the speed if it has changed from last time. Since the speed will
be 0 when the device is probed it will always be changed on the first
transfer after the device is probed.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 172a31bf
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment