Home
last modified time | relevance | path

Searched hist:d5f60737dbaac82f3f7d49eb03ece443beb70fc8 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/spi/
H A Dxilinx_spi.cd5f60737dbaac82f3f7d49eb03ece443beb70fc8 Mon Sep 07 19:56:29 UTC 2015 Jagan Teki <jteki@openedev.com> 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: Jagan Teki <jteki@openedev.com>