projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2c098
)
dmaengine: shdma: fixup parameter definition on dmae_set_dmars
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 16 Jun 2011 05:08:28 +0000
(
05:08
+0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 16 Jun 2011 06:03:50 +0000
(15:03 +0900)
chan_pdata->dmars_bit is unsigned int
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/shdma.c
b/drivers/dma/shdma.c
index 3d22eb82289d6560ba0ffc4530230b7a4d6b7773..41a21b322960bfb673196c067e8e9367412bc535 100644
(file)
--- a/
drivers/dma/shdma.c
+++ b/
drivers/dma/shdma.c
@@
-211,7
+211,7
@@
static int dmae_set_dmars(struct sh_dmae_chan *sh_chan, u16 val)
struct sh_dmae_pdata *pdata = shdev->pdata;
const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->id];
u16 __iomem *addr = shdev->dmars;
- int shift = chan_pdata->dmars_bit;
+
unsigned
int shift = chan_pdata->dmars_bit;
if (dmae_is_busy(sh_chan))
return -EBUSY;