mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull the trivial tree from Jiri Kosina: "Tiny usual fixes all over the place" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits) doc: fix old config name of kprobetrace fs/fs-writeback.c: cleanup riteback_sb_inodes kerneldoc btrfs: fix the commment for the action flags in delayed-ref.h btrfs: fix trivial typo for the comment of BTRFS_FREE_INO_OBJECTID vfs: fix kerneldoc for generic_fh_to_parent() treewide: fix comment/printk/variable typos ipr: fix small coding style issues doc: fix broken utf8 encoding nfs: comment fix platform/x86: fix asus_laptop.wled_type module parameter mfd: printk/comment fixes doc: getdelays.c: remember to close() socket on error in create_nl_socket() doc: aliasing-test: close fd on write error mmc: fix comment typos dma: fix comments spi: fix comment/printk typos in spi Coccinelle: fix typo in memdup_user.cocci tmiofb: missing NULL pointer checks tools: perf: Fix typo in tools/perf tools/testing: fix comment / output typos ...
This commit is contained in:
commit
99dbb1632f
87 changed files with 142 additions and 207 deletions
|
|
@ -168,9 +168,9 @@ static void atc_desc_put(struct at_dma_chan *atchan, struct at_desc *desc)
|
|||
}
|
||||
|
||||
/**
|
||||
* atc_desc_chain - build chain adding a descripor
|
||||
* @first: address of first descripor of the chain
|
||||
* @prev: address of previous descripor of the chain
|
||||
* atc_desc_chain - build chain adding a descriptor
|
||||
* @first: address of first descriptor of the chain
|
||||
* @prev: address of previous descriptor of the chain
|
||||
* @desc: descriptor to queue
|
||||
*
|
||||
* Called from prep_* functions
|
||||
|
|
@ -796,7 +796,7 @@ err_out:
|
|||
}
|
||||
|
||||
/**
|
||||
* atc_dma_cyclic_fill_desc - Fill one period decriptor
|
||||
* atc_dma_cyclic_fill_desc - Fill one period descriptor
|
||||
*/
|
||||
static int
|
||||
atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
|
||||
|
|
|
|||
|
|
@ -1118,7 +1118,7 @@ fail:
|
|||
* @chan: channel
|
||||
* @dma_addr: DMA mapped address of the buffer
|
||||
* @buf_len: length of the buffer (in bytes)
|
||||
* @period_len: lenght of a single period
|
||||
* @period_len: length of a single period
|
||||
* @dir: direction of the operation
|
||||
* @context: operation context (ignored)
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1015,7 +1015,7 @@ static irqreturn_t fsldma_chan_irq(int irq, void *data)
|
|||
/*
|
||||
* Programming Error
|
||||
* The DMA_INTERRUPT async_tx is a NULL transfer, which will
|
||||
* triger a PE interrupt.
|
||||
* trigger a PE interrupt.
|
||||
*/
|
||||
if (stat & FSL_DMA_SR_PE) {
|
||||
chan_dbg(chan, "irq: Programming Error INT\n");
|
||||
|
|
|
|||
|
|
@ -572,8 +572,8 @@ static void imxdma_tasklet(unsigned long data)
|
|||
if (desc->desc.callback)
|
||||
desc->desc.callback(desc->desc.callback_param);
|
||||
|
||||
/* If we are dealing with a cyclic descriptor keep it on ld_active
|
||||
* and dont mark the descripor as complete.
|
||||
/* If we are dealing with a cyclic descriptor, keep it on ld_active
|
||||
* and dont mark the descriptor as complete.
|
||||
* Only in non-cyclic cases it would be marked as complete
|
||||
*/
|
||||
if (imxdma_chan_is_doing_cyclic(imxdmac))
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ DMA engine callback Functions*/
|
|||
* intel_mid_dma_tx_submit - callback to submit DMA transaction
|
||||
* @tx: dma engine descriptor
|
||||
*
|
||||
* Submit the DMA trasaction for this descriptor, start if ch idle
|
||||
* Submit the DMA transaction for this descriptor, start if ch idle
|
||||
*/
|
||||
static dma_cookie_t intel_mid_dma_tx_submit(struct dma_async_tx_descriptor *tx)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -168,9 +168,9 @@ union intel_mid_dma_cfg_hi {
|
|||
* @active_list: current active descriptors
|
||||
* @queue: current queued up descriptors
|
||||
* @free_list: current free descriptors
|
||||
* @slave: dma slave struture
|
||||
* @descs_allocated: total number of decsiptors allocated
|
||||
* @dma: dma device struture pointer
|
||||
* @slave: dma slave structure
|
||||
* @descs_allocated: total number of descriptors allocated
|
||||
* @dma: dma device structure pointer
|
||||
* @busy: bool representing if ch is busy (active txn) or not
|
||||
* @in_use: bool representing if ch is in use or not
|
||||
* @raw_tfr: raw trf interrupt received
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#define _IOAT_HW_H_
|
||||
|
||||
/* PCI Configuration Space Values */
|
||||
#define IOAT_PCI_VID 0x8086
|
||||
#define IOAT_MMIO_BAR 0
|
||||
|
||||
/* CB device ID's */
|
||||
|
|
@ -31,9 +30,6 @@
|
|||
#define IOAT_PCI_DID_SCNB 0x65FF
|
||||
#define IOAT_PCI_DID_SNB 0x402F
|
||||
|
||||
#define IOAT_PCI_RID 0x00
|
||||
#define IOAT_PCI_SVID 0x8086
|
||||
#define IOAT_PCI_SID 0x8086
|
||||
#define IOAT_VER_1_2 0x12 /* Version 1.2 */
|
||||
#define IOAT_VER_2_0 0x20 /* Version 2.0 */
|
||||
#define IOAT_VER_3_0 0x30 /* Version 3.0 */
|
||||
|
|
|
|||
|
|
@ -522,7 +522,7 @@ enum desc_status {
|
|||
/* In the DMAC pool */
|
||||
FREE,
|
||||
/*
|
||||
* Allocted to some channel during prep_xxx
|
||||
* Allocated to some channel during prep_xxx
|
||||
* Also may be sitting on the work_list.
|
||||
*/
|
||||
PREP,
|
||||
|
|
|
|||
|
|
@ -4446,7 +4446,7 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev)
|
|||
ret = -ENOMEM;
|
||||
goto err_dma_alloc;
|
||||
}
|
||||
dev_dbg(&ofdev->dev, "allocted descriptor pool virt 0x%p phys 0x%llx\n",
|
||||
dev_dbg(&ofdev->dev, "allocated descriptor pool virt 0x%p phys 0x%llx\n",
|
||||
adev->dma_desc_pool_virt, (u64)adev->dma_desc_pool);
|
||||
|
||||
regs = ioremap(res.start, resource_size(&res));
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@
|
|||
/* LLI related structures */
|
||||
|
||||
/**
|
||||
* struct d40_phy_lli - The basic configration register for each physical
|
||||
* struct d40_phy_lli - The basic configuration register for each physical
|
||||
* channel.
|
||||
*
|
||||
* @reg_cfg: The configuration register.
|
||||
|
|
|
|||
Loading…
Reference in a new issue