OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d48ad
)
spi: dw: Avoid useless assignments in generic DMA setup
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Thu, 7 May 2020 11:54:48 +0000
(14:54 +0300)
committer
Mark Brown
<broonie@kernel.org>
Thu, 7 May 2020 12:42:59 +0000
(13:42 +0100)
Generic DMA setup doesn't rely on certain type of DMA controller and thus
shouldn't use Intel Medfield settings, although it's harmless in this case.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link:
https://lore.kernel.org/r/20200507115449.8093-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-dw-mid.c
b/drivers/spi/spi-dw-mid.c
index
f3c85f9
..
8b7b94c
100644
(file)
--- a/
drivers/spi/spi-dw-mid.c
+++ b/
drivers/spi/spi-dw-mid.c
@@
-321,8
+321,6
@@
static const struct dw_spi_dma_ops generic_dma_ops = {
static void dw_spi_mid_setup_dma_generic(struct dw_spi *dws)
{
- dws->dma_tx = &mid_dma_tx;
- dws->dma_rx = &mid_dma_rx;
dws->dma_ops = &generic_dma_ops;
}
#else /* CONFIG_SPI_DW_MID_DMA */