projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
964d4f7
a2569f1
)
Merge branch 'master' of git://git.denx.de/u-boot-spi
author
Tom Rini
<trini@konsulko.com>
Wed, 30 May 2018 18:51:37 +0000
(14:51 -0400)
committer
Tom Rini
<trini@konsulko.com>
Wed, 30 May 2018 18:51:37 +0000
(14:51 -0400)
- Fix a conflict in drivers/spi/atcspi200_spi.c related to the riscv
tree fixing a warning.
Signed-off-by: Tom Rini <trini@konsulko.com>
1
2
drivers/spi/atcspi200_spi.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
drivers/spi/atcspi200_spi.c
index
be424e0
,
6233d49
..
af96c6d
---
1
/
drivers/spi/atcspi200_spi.c
---
2
/
drivers/spi/atcspi200_spi.c
+++ b/
drivers/spi/atcspi200_spi.c
@@@
-229,8
-229,10
+229,10
@@@
static int __atcspi200_spi_xfer(struct
__atcspi200_spi_start(ns);
break;
}
- debug("spi_xfer: data_out %08X(%p) data_in %08X(%p) data_len %lu\n",
- *(uint *)data_out, data_out, *(uint *)data_in, data_in, data_len);
+ if (data_out)
- debug("spi_xfer: data_out %08X(%p) data_in %08X(%p) data_len %u\n",
++ debug("spi_xfer: data_out %08X(%p) data_in %08X(%p) data_len %lu\n",
+ *(uint *)data_out, data_out, *(uint *)data_in,
+ data_in, data_len);
num_chunks = DIV_ROUND_UP(data_len, max_tran_len);
din = data_in;
dout = data_out;