Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
drivers
/
spi
/
spi-dw.c
diff --git
a/kernel/drivers/spi/spi-dw.c
b/kernel/drivers/spi/spi-dw.c
index
8d67d03
..
4fbfcdc
100644
(file)
--- a/
kernel/drivers/spi/spi-dw.c
+++ b/
kernel/drivers/spi/spi-dw.c
@@
-194,7
+194,7
@@
static void dw_writer(struct dw_spi *dws)
else
txw = *(u16 *)(dws->tx);
}
else
txw = *(u16 *)(dws->tx);
}
- dw_write
l
(dws, DW_SPI_DR, txw);
+ dw_write
_io_reg
(dws, DW_SPI_DR, txw);
dws->tx += dws->n_bytes;
}
}
dws->tx += dws->n_bytes;
}
}
@@
-205,7
+205,7
@@
static void dw_reader(struct dw_spi *dws)
u16 rxw;
while (max--) {
u16 rxw;
while (max--) {
- rxw = dw_read
l
(dws, DW_SPI_DR);
+ rxw = dw_read
_io_reg
(dws, DW_SPI_DR);
/* Care rx only if the transfer's original "rx" is not null */
if (dws->rx_end - dws->len) {
if (dws->n_bytes == 1)
/* Care rx only if the transfer's original "rx" is not null */
if (dws->rx_end - dws->len) {
if (dws->n_bytes == 1)