mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge 3.8-rc5 into driver-core-next
This resolves a gpio driver merge issue pointed out in linux-next. Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
commit
422d26b6ec
248 changed files with 2063 additions and 1231 deletions
|
|
@ -685,9 +685,8 @@ static int imxdma_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
|
|||
break;
|
||||
}
|
||||
|
||||
imxdmac->hw_chaining = 1;
|
||||
if (!imxdma_hw_chain(imxdmac))
|
||||
return -EINVAL;
|
||||
imxdmac->hw_chaining = 0;
|
||||
|
||||
imxdmac->ccr_from_device = (mode | IMX_DMA_TYPE_FIFO) |
|
||||
((IMX_DMA_MEMSIZE_32 | IMX_DMA_TYPE_LINEAR) << 2) |
|
||||
CCR_REN;
|
||||
|
|
|
|||
|
|
@ -951,7 +951,7 @@ static int ioat_xor_val_self_test(struct ioatdma_device *device)
|
|||
goto free_resources;
|
||||
}
|
||||
}
|
||||
dma_sync_single_for_device(dev, dest_dma, PAGE_SIZE, DMA_TO_DEVICE);
|
||||
dma_sync_single_for_device(dev, dest_dma, PAGE_SIZE, DMA_FROM_DEVICE);
|
||||
|
||||
/* skip validate if the capability is not present */
|
||||
if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask))
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ static struct tegra_dma_desc *tegra_dma_desc_get(
|
|||
if (async_tx_test_ack(&dma_desc->txd)) {
|
||||
list_del(&dma_desc->node);
|
||||
spin_unlock_irqrestore(&tdc->lock, flags);
|
||||
dma_desc->txd.flags = 0;
|
||||
return dma_desc;
|
||||
}
|
||||
}
|
||||
|
|
@ -1051,7 +1052,9 @@ struct dma_async_tx_descriptor *tegra_dma_prep_dma_cyclic(
|
|||
TEGRA_APBDMA_AHBSEQ_WRAP_SHIFT;
|
||||
ahb_seq |= TEGRA_APBDMA_AHBSEQ_BUS_WIDTH_32;
|
||||
|
||||
csr |= TEGRA_APBDMA_CSR_FLOW | TEGRA_APBDMA_CSR_IE_EOC;
|
||||
csr |= TEGRA_APBDMA_CSR_FLOW;
|
||||
if (flags & DMA_PREP_INTERRUPT)
|
||||
csr |= TEGRA_APBDMA_CSR_IE_EOC;
|
||||
csr |= tdc->dma_sconfig.slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT;
|
||||
|
||||
apb_seq |= TEGRA_APBDMA_APBSEQ_WRAP_WORD_1;
|
||||
|
|
@ -1096,7 +1099,8 @@ struct dma_async_tx_descriptor *tegra_dma_prep_dma_cyclic(
|
|||
mem += len;
|
||||
}
|
||||
sg_req->last_sg = true;
|
||||
dma_desc->txd.flags = 0;
|
||||
if (flags & DMA_CTRL_ACK)
|
||||
dma_desc->txd.flags = DMA_CTRL_ACK;
|
||||
|
||||
/*
|
||||
* Make sure that mode should not be conflicting with currently
|
||||
|
|
|
|||
Loading…
Reference in a new issue