diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2011-01-25 05:18:16 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-31 01:27:17 -0500 |
commit | d924abad7fa9a78d70b20552bf27fe4f7a19a2fb (patch) | |
tree | 140a0fa51e50699f3e46b18c28c7cad2cf9f0c68 /drivers | |
parent | b00f938c8cf5ba8e7a692519548a256aa3ea1203 (diff) |
dma40: remove unnecessary casts
Acked-by: Per Forlin <per.forlin@stericsson.com>
Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/ste_dma40.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index b5856864d48d..bd72269dac08 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -357,14 +357,12 @@ static int d40_pool_lli_alloc(struct d40_chan *d40c, struct d40_desc *d40d, | |||
357 | } | 357 | } |
358 | 358 | ||
359 | if (is_log) { | 359 | if (is_log) { |
360 | d40d->lli_log.src = PTR_ALIGN((struct d40_log_lli *) base, | 360 | d40d->lli_log.src = PTR_ALIGN(base, align); |
361 | align); | ||
362 | d40d->lli_log.dst = d40d->lli_log.src + lli_len; | 361 | d40d->lli_log.dst = d40d->lli_log.src + lli_len; |
363 | 362 | ||
364 | d40d->lli_pool.dma_addr = 0; | 363 | d40d->lli_pool.dma_addr = 0; |
365 | } else { | 364 | } else { |
366 | d40d->lli_phy.src = PTR_ALIGN((struct d40_phy_lli *)base, | 365 | d40d->lli_phy.src = PTR_ALIGN(base, align); |
367 | align); | ||
368 | d40d->lli_phy.dst = d40d->lli_phy.src + lli_len; | 366 | d40d->lli_phy.dst = d40d->lli_phy.src + lli_len; |
369 | 367 | ||
370 | d40d->lli_pool.dma_addr = dma_map_single(d40c->base->dev, | 368 | d40d->lli_pool.dma_addr = dma_map_single(d40c->base->dev, |