commit | 0dc543f04985edcf3bbec85f25e06ee2021bcfc1 | [log] [tgz] |
---|---|---|
author | Jagan Teki <jteki@openedev.com> | Tue Sep 08 01:26:29 2015 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Sun Oct 11 16:43:06 2015 +0530 |
tree | 8cab7159ce8941f3c35b38fbf16277d1f20c8232 | |
parent | 1984fac4b781ba7d29901ee725e71e71570e7bc9 [diff] |
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>