Skip to content
Snippets Groups Projects
Commit d5f60737 authored by Jagan Teki's avatar Jagan Teki
Browse files

spi: xilinx_spi: Fix to configure CPOL, CPHA mask


priv->mode is initialized when .set_speed triggers
with mode value, so checking mode for configuring
CPOL, CPHA using priv->mode is invalid hence use
mode from .set_speed argument, and at the end
priv->mode will initialized with mode.

This patch also replaces formatting string to use
speed instead of mode in .set_speed ops.

Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
parent 9a4c6e9a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment