diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 20:12:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 20:12:54 -0400 |
commit | c511dc1fb6bee58363eb203d53393784f2589d02 (patch) | |
tree | 20d91e01aec30c462965fba27cfea0c80744d7ed /drivers/usb/renesas_usbhs | |
parent | 9161c3b796a2841a9a7be3d9c9dd121269ce90e8 (diff) | |
parent | 634332502366554849fe37e88d05ec0a13e550c8 (diff) |
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
Pull slave-dmaengine update from Vinod Koul:
"This time we have a new dmaengine driver from the tegra folks. Also
we have Guennadi's cleanup of sh drivers which incudes a library for
sh drivers. And the usual odd fixes in bunch of drivers and some nice
cleanup of dw_dmac from Andy."
Fix up conflicts in drivers/mmc/host/sh_mmcif.c
* 'next' of git://git.infradead.org/users/vkoul/slave-dma: (46 commits)
dmaengine: Cleanup logging messages
mmc: sh_mmcif: switch to the new DMA channel allocation and configuration
dma: sh: provide a migration path for slave drivers to stop using .private
dma: sh: use an integer slave ID to improve API compatibility
dmaengine: shdma: prepare to stop using struct dma_chan::private
sh: remove unused DMA device pointer from SIU platform data
ASoC: siu: don't use DMA device for channel filtering
dmaengine: shdma: (cosmetic) simplify a static function
dmaengine: at_hdmac: add a few const qualifiers
dw_dmac: use 'u32' for LLI structure members, not dma_addr_t
dw_dmac: mark dwc_dump_lli inline
dma: mxs-dma: Export missing symbols from mxs-dma.c
dma: shdma: convert to the shdma base library
ASoC: fsi: prepare for conversion to the shdma base library
usb: renesas_usbhs: prepare for conversion to the shdma base library
ASoC: siu: prepare for conversion to the shdma base library
serial: sh-sci: prepare for conversion to the shdma base library
mmc: sh_mobile_sdhi: prepare for conversion to the shdma base library
mmc: sh_mmcif: remove unneeded struct sh_mmcif_dma, prepare to shdma conversion
dma: shdma: prepare for conversion to the shdma base library
...
Diffstat (limited to 'drivers/usb/renesas_usbhs')
-rw-r--r-- | drivers/usb/renesas_usbhs/fifo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c index 08313574aac8..30b757a3f59e 100644 --- a/drivers/usb/renesas_usbhs/fifo.c +++ b/drivers/usb/renesas_usbhs/fifo.c | |||
@@ -994,7 +994,7 @@ static bool usbhsf_dma_filter(struct dma_chan *chan, void *param) | |||
994 | * | 994 | * |
995 | * usbhs doesn't recognize id = 0 as valid DMA | 995 | * usbhs doesn't recognize id = 0 as valid DMA |
996 | */ | 996 | */ |
997 | if (0 == slave->slave_id) | 997 | if (0 == slave->shdma_slave.slave_id) |
998 | return false; | 998 | return false; |
999 | 999 | ||
1000 | chan->private = slave; | 1000 | chan->private = slave; |
@@ -1173,8 +1173,8 @@ int usbhs_fifo_probe(struct usbhs_priv *priv) | |||
1173 | fifo->port = D0FIFO; | 1173 | fifo->port = D0FIFO; |
1174 | fifo->sel = D0FIFOSEL; | 1174 | fifo->sel = D0FIFOSEL; |
1175 | fifo->ctr = D0FIFOCTR; | 1175 | fifo->ctr = D0FIFOCTR; |
1176 | fifo->tx_slave.slave_id = usbhs_get_dparam(priv, d0_tx_id); | 1176 | fifo->tx_slave.shdma_slave.slave_id = usbhs_get_dparam(priv, d0_tx_id); |
1177 | fifo->rx_slave.slave_id = usbhs_get_dparam(priv, d0_rx_id); | 1177 | fifo->rx_slave.shdma_slave.slave_id = usbhs_get_dparam(priv, d0_rx_id); |
1178 | 1178 | ||
1179 | /* D1FIFO */ | 1179 | /* D1FIFO */ |
1180 | fifo = usbhsf_get_d1fifo(priv); | 1180 | fifo = usbhsf_get_d1fifo(priv); |
@@ -1182,8 +1182,8 @@ int usbhs_fifo_probe(struct usbhs_priv *priv) | |||
1182 | fifo->port = D1FIFO; | 1182 | fifo->port = D1FIFO; |
1183 | fifo->sel = D1FIFOSEL; | 1183 | fifo->sel = D1FIFOSEL; |
1184 | fifo->ctr = D1FIFOCTR; | 1184 | fifo->ctr = D1FIFOCTR; |
1185 | fifo->tx_slave.slave_id = usbhs_get_dparam(priv, d1_tx_id); | 1185 | fifo->tx_slave.shdma_slave.slave_id = usbhs_get_dparam(priv, d1_tx_id); |
1186 | fifo->rx_slave.slave_id = usbhs_get_dparam(priv, d1_rx_id); | 1186 | fifo->rx_slave.shdma_slave.slave_id = usbhs_get_dparam(priv, d1_rx_id); |
1187 | 1187 | ||
1188 | return 0; | 1188 | return 0; |
1189 | } | 1189 | } |