Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A Dxilinx_spi.cd5f60737 Mon Sep 07 14:56:29 CDT 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>