[U-Boot] [PATCH 11/21] sunxi: gpio: Add support for AXP gpios to the dm gpio code

Hans de Goede hdegoede at redhat.com
Fri Apr 24 15:54:54 CEST 2015


Hi,

On 24-04-15 15:48, Hans de Goede wrote:

<snip>

 > @@ -222,7 +266,7 @@ static int sunxi_gpio_set_value(struct udevice *dev, unsigned offset,
>   	struct sunxi_gpio_platdata *plat = dev_get_platdata(dev);
>   	u32 num = GPIO_NUM(offset);
>
> -	clrsetbits_le32(&plat->regs->dat, 1 << num, value ? (1 << num) : 0);
> +;	clrsetbits_le32(&plat->regs->dat, 1 << num, value ? (1 << num) : 0);
>   	return 0;
>   }
>

No idea how that got in there, dropped in my personal tree.

Regards,

Hans


More information about the U-Boot mailing list