diff options
author | Jagan Teki <jteki@openedev.com> | 2015-12-13 17:40:33 +0300 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-01-13 16:17:25 +0300 |
commit | 095a41d3c281b2c6576ea7e42780b565d619a1af (patch) | |
tree | 25edd3d2f021063cff33918aca8d76d8a456c2c1 /drivers/spi/ich.c | |
parent | f5c3c033f7ebd86e6a6e90f4a97b54d3e0f41d9a (diff) | |
download | u-boot-095a41d3c281b2c6576ea7e42780b565d619a1af.tar.xz |
spi: Use mode instead of op_mode_tx
Used mode member from spi_slave{} instead of op_mode_tx.
Cc: Simon Glass <sjg@chromium.org>
Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/spi/ich.c')
-rw-r--r-- | drivers/spi/ich.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index f85af9c9fb..64322dd2bb 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -753,7 +753,7 @@ static int ich_spi_child_pre_probe(struct udevice *dev) */ if (plat->ich_version == 7) { slave->op_mode_rx = SPI_OPM_RX_AS; - slave->op_mode_tx = SPI_OPM_TX_BP; + slave->mode = SPI_TX_BP; } return 0; |