commit | c27f1c1f08235958650096e671666d3a96f263e1 | [log] [tgz] |
---|---|---|
author | Jagan Teki <jteki@openedev.com> | Tue Sep 08 01:39:44 2015 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Sun Oct 25 20:17:03 2015 +0530 |
tree | d555520733d8ab27e8f95b5f6959e0e976fe89ef | |
parent | 7c78c8898567b09fc77875477f8e07e3842e986f [diff] |
spi: zynq_qspi: 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>