projects
/
oweals
/
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 be424e0a6f823a9d70cee41beb9dad178ab6dd95,6233d4978f5395f7e7fa3c959267ac3ec65dda53..af96c6d21e5c5e04220c2936e8586f5b192b4691
---
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;