USB: gadget: android: fix build

This lets us build the android gadget again.

Signed-off-by: Emilio López <turl@linux-sunxi.org>
sunxi-usb: fix the alignment calculation for non-aligned buffer workaround

Fix alignment calculation that sets alignment off by one. New code uses
pointer type sizes for correct calculation.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Add Full Duplex support to SPI (v2)

This patch adds full duplex support to the spi_sunxi driver.

v2 - Fix compile error when CONFIG_SUN4I_SPI_NDMA is set.

Signed-off-by: Simon Ratcliffe <simon@proatomic.com.au>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Rename sunx5i-ir to sunxi-ir as start of unification

No code changes took place and internally the ir driver doesn't call
itself sunxi

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-ir fix coding style

All check patch things where cleaned up (except debug printing and line
length).

Also most/all FGPA references where removed. They where commented out or
defined-out anyway.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Unify sun4i and sun5i IR driver

This unifies the two drivers into one. It still needs to be compiled per
arch. While both IR0 an IR1 are defined for sun4i (2 IR controllers)
only IR0 is actually used in the code.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>