On 19-12-13 15:22, Chen-Yu Tsai wrote:
On Thu, Dec 19, 2013 at 6:43 PM, Olliver Schinagl
<[email protected]> wrote:
On 19-12-13 10:58, Chen-Yu Tsai wrote:
From: Ma Haijun <[email protected]>
A better commit message on this patch would be good, especially explaining
it a bit deeper or referencing where you found this.
You mean A20 user manual reference? Sure. I'll add that.
Though Hans has already merged the other half of the original fix.
Yeah I saw; it's just that I wasn't aware and the commit log was a
little to uncertain if this is a 'we think this is a fix' or 'we found
this in the docs so should be a fix' :)
It will only help people reading over the commit logs is all.
Oliver
wens
oliver
Signed-off-by: Ma Haijun <[email protected]>
Signed-off-by: Chen-Yu Tsau <[email protected]>
---
arch/arm/cpu/armv7/sunxi/pinmux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/sunxi/pinmux.c
b/arch/arm/cpu/armv7/sunxi/pinmux.c
index 8428439..56671f6 100644
--- a/arch/arm/cpu/armv7/sunxi/pinmux.c
+++ b/arch/arm/cpu/armv7/sunxi/pinmux.c
@@ -69,7 +69,7 @@ int sunxi_gpio_set_drv(u32 pin, u32 val)
&((struct sunxi_gpio_reg *)SUNXI_PIO_BASE)->gpio_bank[bank];
drv = readl(&pio->drv[0] + index);
- drv &= ~(0xf << offset);
+ drv &= ~(0x3 << offset);
drv |= val << offset;
writel(drv, &pio->drv[0] + index);
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.