sunxi: fix typo in refactored sw_core_fixup()

closes #84
touchscreen: ft5x_ts: add missed part of the fix from A13-SDK

Reported-By: Alexsey Shestacov <wingrime@gmail.com>
video: sunxi-disp: fix crash when DISP_INIT_MODE_TWO_DIFF_SCREEN_SAME_CONTENTS is used

Earlier fb_para.primary_screen_id was uninitialized which caused that array index was wrong.
This hard codes primary_screen_id to 0 which is logical.
block: sunxi_nand: accept type 1 partitions too

We don't know the meaning of the values, but they are usually 0 or 2.
Except for lundman who has 1s instead of 2s, So we will accept both.
video: sun4i: modify csc;
video: sunxi-hdmi: modify hdmi avi packet for hd; (problem with green screen effect)
video: sunxi-hdmi: fix green screen effect

Fix green screen effect.
Added enumeration to explain csc.
Added documentation to HDMI AVI header.
video: sunxi: disp-ump: Add support for buf2
sun4i: clock: fix PLL4 initialization for non-revC

Based on a patch by Andreas Baierl <list@imkreisrum.de> to fix a problem
initializing Mali's clock on a revB board.
touchscreen:ft5x_ts: fix driver release Fixes bug, that make impossible to re-insmod driver after release
arm: sun4i: Rework cpufreq scaling

Previously we used a block of if cases, this patch cleans up
the code and lets us use a simple set of tables to handle this
on a loop.

The tables are fetched at runtime, so this will also make it
trivial to support newer sunxi chips in the event they require
different clock settings.

Signed-off-by: Emilio López <turl@linux-sunxi.org>
arm: sun4i: fix cpufreq dependency on Makefile

We will always need the tables, so it should depend on CPU_FREQ
instead of CPU_FREQ_TABLE

Signed-off-by: Emilio López <turl@linux-sunxi.org>
arm: sunxi: fix some whitespace issues on cpu-freq.c

Signed-off-by: Emilio López <turl@linux-sunxi.org>
usb: sunxi: unify ehci and ohci drivers

* unify ehci sun4i/sun5i drivers into ehci-sunxi
* unify ohci sun4i/sun5i drivers into ohci-sunxi
* rename files to match Linux naming style.

Signed-off-by: Aliaksei Katovich <aliaksei.katovich@gmail.com>
usb: ehci-sunxi: code re-factoring

* run code through scritps/Lindent
* remove dummy comments
* translate relevant comments from chineese to english
* cosmetic changes in error handling
* replace DMSG_* functions with pr_* counterparts
* get rid of functions forward declarations

Signed-off-by: Aliaksei Katovich <aliaksei.katovich@gmail.com>
usb: ohci-sunxi: code re-factoring

* run code through scritps/Lindent
* remove dummy comments
* translate relevant comments from chineese to english
* cosmetic changes in error handling
* replace DMSG_* functions with pr_* counterparts
* get rid of functions forward declarations

Signed-off-by: Aliaksei Katovich <aliaksei.katovich@gmail.com>
usb: hci-sunxi: code re-factoring

Re-factor sw_hci_sunxi.h:

* run code through scritps/Lindent
* remove dummy comments
* translate some comments from chineese

Signed-off-by: Aliaksei Katovich <aliaksei.katovich@gmail.com>
video: sunxi: disp-ump: fix buf2 support for sun5i
sunxi: video: disp: fix build warning

drivers/video/sunxi/disp/dev_disp.c:1686: warning: 'state.event' may be used uninitialized in this function
sunxi: nand: fix build warnings

drivers/block/sunxi_nand/nfd/nand_blk.c: In function 'init_blklayer':
drivers/block/sunxi_nand/nfd/nand_blk.c:1333: warning: unused variable 'cmu_clk'
drivers/block/sunxi_nand/nfd/nand_blk.c: At top level:
drivers/block/sunxi_nand/nfd/nand_blk.c:120: warning: 'ahb_nand_clk' defined but not used
drivers/block/sunxi_nand/nfd/nand_blk.c:121: warning: 'mod_nand_clk' defined but not used