diff options
author | Per Forlin <per.friden@stericsson.com> | 2010-10-06 05:05:28 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-10-07 17:56:36 -0400 |
commit | 661385f9c34e15c2f2c57b80e8cb2c7b910fdbd3 (patch) | |
tree | be7d9196566449473cc0b49138839b6ec2dd66a7 /arch/arm | |
parent | a59670a40b4dd497630f9442feb259dde601e469 (diff) |
DMAENGINE: Remove stedma40_set_psize and pre_transfer hook in ste_dma40
Remove obsolete pre_transfer hook in stedma40_chan_cfg. The
intent of this hook is merely to handle burst size
compensation for ux500 variant MMCI. Remove obsolete stedma40_set_psize
since it is only called from pre_transfer. DMAEngine device_control
replaces the functionality of stedma40_set_psize.
Signed-off-by: Per Forlin <per.forlin@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/ste_dma40.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/ste_dma40.h b/arch/arm/plat-nomadik/include/plat/ste_dma40.h index 1127af210894..660552d33b3a 100644 --- a/arch/arm/plat-nomadik/include/plat/ste_dma40.h +++ b/arch/arm/plat-nomadik/include/plat/ste_dma40.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) ST-Ericsson SA 2007-2010 | 2 | * Copyright (C) ST-Ericsson SA 2007-2010 |
3 | * Author: Per Friden <per.friden@stericsson.com> for ST-Ericsson | 3 | * Author: Per Forlin <per.forlin@stericsson.com> for ST-Ericsson |
4 | * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson | 4 | * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson |
5 | * License terms: GNU General Public License (GPL) version 2 | 5 | * License terms: GNU General Public License (GPL) version 2 |
6 | */ | 6 | */ |
@@ -123,10 +123,6 @@ struct stedma40_half_channel_info { | |||
123 | * @dst_dev_type: Dst device type | 123 | * @dst_dev_type: Dst device type |
124 | * @src_info: Parameters for dst half channel | 124 | * @src_info: Parameters for dst half channel |
125 | * @dst_info: Parameters for dst half channel | 125 | * @dst_info: Parameters for dst half channel |
126 | * @pre_transfer_data: Data to be passed on to the pre_transfer() function. | ||
127 | * @pre_transfer: Callback used if needed before preparation of transfer. | ||
128 | * Only called if device is set. size of bytes to transfer | ||
129 | * (in case of multiple element transfer size is size of the first element). | ||
130 | * | 126 | * |
131 | * | 127 | * |
132 | * This structure has to be filled by the client drivers. | 128 | * This structure has to be filled by the client drivers. |
@@ -140,10 +136,6 @@ struct stedma40_chan_cfg { | |||
140 | int dst_dev_type; | 136 | int dst_dev_type; |
141 | struct stedma40_half_channel_info src_info; | 137 | struct stedma40_half_channel_info src_info; |
142 | struct stedma40_half_channel_info dst_info; | 138 | struct stedma40_half_channel_info dst_info; |
143 | void *pre_transfer_data; | ||
144 | int (*pre_transfer) (struct dma_chan *chan, | ||
145 | void *data, | ||
146 | int size); | ||
147 | }; | 139 | }; |
148 | 140 | ||
149 | /** | 141 | /** |
@@ -171,20 +163,6 @@ struct stedma40_platform_data { | |||
171 | }; | 163 | }; |
172 | 164 | ||
173 | /** | 165 | /** |
174 | * setdma40_set_psize() - Used for changing the package size of an | ||
175 | * already configured dma channel. | ||
176 | * | ||
177 | * @chan: dmaengine handle | ||
178 | * @src_psize: new package side for src. (STEDMA40_PSIZE*) | ||
179 | * @src_psize: new package side for dst. (STEDMA40_PSIZE*) | ||
180 | * | ||
181 | * returns 0 on ok, otherwise negative error number. | ||
182 | */ | ||
183 | int stedma40_set_psize(struct dma_chan *chan, | ||
184 | int src_psize, | ||
185 | int dst_psize); | ||
186 | |||
187 | /** | ||
188 | * stedma40_filter() - Provides stedma40_chan_cfg to the | 166 | * stedma40_filter() - Provides stedma40_chan_cfg to the |
189 | * ste_dma40 dma driver via the dmaengine framework. | 167 | * ste_dma40 dma driver via the dmaengine framework. |
190 | * does some checking of what's provided. | 168 | * does some checking of what's provided. |