diff options
author | Jagan Teki <jteki@openedev.com> | 2015-09-08 01:26:29 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-10-11 16:43:06 +0530 |
commit | d5f60737dbaac82f3f7d49eb03ece443beb70fc8 (patch) | |
tree | 8cab7159ce8941f3c35b38fbf16277d1f20c8232 /arch/arm/dts/sun7i-a20-orangepi.dts | |
parent | 9a4c6e9abf5261f565cfbf1e80c6e17d26ad0b1e (diff) | |
download | talos-obmc-uboot-d5f60737dbaac82f3f7d49eb03ece443beb70fc8.tar.gz talos-obmc-uboot-d5f60737dbaac82f3f7d49eb03ece443beb70fc8.zip |
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>
Diffstat (limited to 'arch/arm/dts/sun7i-a20-orangepi.dts')
0 files changed, 0 insertions, 0 deletions