diff options
| author | Vinod Koul <vinod.koul@linux.intel.com> | 2012-03-13 03:09:49 -0400 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-03-13 03:09:49 -0400 |
| commit | 1f3d6dc0be92f0caca937926cca16ec4fdd585a3 (patch) | |
| tree | a12562009ae984dd16ed080af13d0036b88a93a7 /include/linux | |
| parent | 5170c051a56244816d948c43592c1b2805ed4f3a (diff) | |
| parent | 949ff5b8d46b5e3435d21b2651ce3a2599208d44 (diff) | |
Merge branch 'rmk_cookie_fixes2' into next
Conflicts:
drivers/dma/imx-dma.c
drivers/dma/pl330.c
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/amba/pl08x.h | 2 | ||||
| -rw-r--r-- | include/linux/dmaengine.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index 2c58853ca423..e64ce2cfee99 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h | |||
| @@ -172,7 +172,6 @@ enum pl08x_dma_chan_state { | |||
| 172 | * @runtime_addr: address for RX/TX according to the runtime config | 172 | * @runtime_addr: address for RX/TX according to the runtime config |
| 173 | * @runtime_direction: current direction of this channel according to | 173 | * @runtime_direction: current direction of this channel according to |
| 174 | * runtime config | 174 | * runtime config |
| 175 | * @lc: last completed transaction on this channel | ||
| 176 | * @pend_list: queued transactions pending on this channel | 175 | * @pend_list: queued transactions pending on this channel |
| 177 | * @at: active transaction on this channel | 176 | * @at: active transaction on this channel |
| 178 | * @lock: a lock for this channel data | 177 | * @lock: a lock for this channel data |
| @@ -197,7 +196,6 @@ struct pl08x_dma_chan { | |||
| 197 | u32 src_cctl; | 196 | u32 src_cctl; |
| 198 | u32 dst_cctl; | 197 | u32 dst_cctl; |
| 199 | enum dma_transfer_direction runtime_direction; | 198 | enum dma_transfer_direction runtime_direction; |
| 200 | dma_cookie_t lc; | ||
| 201 | struct list_head pend_list; | 199 | struct list_head pend_list; |
| 202 | struct pl08x_txd *at; | 200 | struct pl08x_txd *at; |
| 203 | spinlock_t lock; | 201 | spinlock_t lock; |
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 7e640bf27d2d..715babf4bffe 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
| @@ -18,8 +18,8 @@ | |||
| 18 | * The full GNU General Public License is included in this distribution in the | 18 | * The full GNU General Public License is included in this distribution in the |
| 19 | * file called COPYING. | 19 | * file called COPYING. |
| 20 | */ | 20 | */ |
| 21 | #ifndef DMAENGINE_H | 21 | #ifndef LINUX_DMAENGINE_H |
| 22 | #define DMAENGINE_H | 22 | #define LINUX_DMAENGINE_H |
| 23 | 23 | ||
| 24 | #include <linux/device.h> | 24 | #include <linux/device.h> |
| 25 | #include <linux/uio.h> | 25 | #include <linux/uio.h> |
| @@ -258,6 +258,7 @@ struct dma_chan_percpu { | |||
| 258 | * struct dma_chan - devices supply DMA channels, clients use them | 258 | * struct dma_chan - devices supply DMA channels, clients use them |
| 259 | * @device: ptr to the dma device who supplies this channel, always !%NULL | 259 | * @device: ptr to the dma device who supplies this channel, always !%NULL |
| 260 | * @cookie: last cookie value returned to client | 260 | * @cookie: last cookie value returned to client |
| 261 | * @completed_cookie: last completed cookie for this channel | ||
| 261 | * @chan_id: channel ID for sysfs | 262 | * @chan_id: channel ID for sysfs |
| 262 | * @dev: class device for sysfs | 263 | * @dev: class device for sysfs |
| 263 | * @device_node: used to add this to the device chan list | 264 | * @device_node: used to add this to the device chan list |
| @@ -269,6 +270,7 @@ struct dma_chan_percpu { | |||
| 269 | struct dma_chan { | 270 | struct dma_chan { |
| 270 | struct dma_device *device; | 271 | struct dma_device *device; |
| 271 | dma_cookie_t cookie; | 272 | dma_cookie_t cookie; |
| 273 | dma_cookie_t completed_cookie; | ||
| 272 | 274 | ||
| 273 | /* sysfs */ | 275 | /* sysfs */ |
| 274 | int chan_id; | 276 | int chan_id; |
