projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: spi: Avoid setting the pinctrl twice
[oweals/u-boot.git]
/
drivers
/
spi
/
ich.c
diff --git
a/drivers/spi/ich.c
b/drivers/spi/ich.c
index f85af9c9fb9528bef4ec3ebd4ad10693c1be8188..59eaaea69396e8082ba373558d37c84f4ab8d53d 100644
(file)
--- a/
drivers/spi/ich.c
+++ b/
drivers/spi/ich.c
@@
-752,8
+752,8
@@
static int ich_spi_child_pre_probe(struct udevice *dev)
* and byte program command for SST flash
*/
if (plat->ich_version == 7) {
- slave->
op_mode_rx = SPI_OPM_RX_AS
;
- slave->
op_mode_tx = SPI_OPM_TX_BP
;
+ slave->
mode_rx = SPI_RX_SLOW
;
+ slave->
mode = SPI_TX_BYTE
;
}
return 0;