mali: Fix regression on sun4i and sun5i caused by adding sun7i support

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
serial: sunxi: Fix kernel stall

When opening/closing a serial port many times the kernel will
eventually crash with a 'rcu_preempt self-detected stall'.  Adding
some code from the Allwinner source fixes this issue.  Also rename
some functions as the core seems different than the DesignWare core.

Signed-off-by: Ryan Press <ryan@presslab.us>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>