FS: import F2FS

Signed-off-by: Paul Reioux <reioux@gmail.com>
f2fs: data: AIO optimization compatibility fixup

Signed-off-by: Paul Reioux <reioux@gmail.com>
Update F2FS

* This is currently not working so let's see if upstreaming will fix it.

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
f2fs: fix wrong statistics of inline data

If we remove a file that has inline data after mount, our statistics turns to
inaccurate.

cat /sys/kernel/debug/f2fs/status
  - Inline_data Inode: 4294967295

Let's add stat_inc_inline_inode() to stat inline info of the file when lookup.

Change log from v1:
 o stat in f2fs_lookup() instead of in do_read_inode() for excluding wrong stat.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Config: Enable F2FS
Sweep2wake and Doubletap2wake for the Nexus 7 (flo)

Signed-off-by: flar2 <asegaert@gmail.com>
Command line options

Signed-off-by: flar2 <asegaert@gmail.com>
New sweep2wake/doubletap2wake options

/sys/android_touch/orientation controls whether sweep2sleep works in portrait, landscape, or both
0 = both
1 = portrait only
2 = landscape only

/sys/android_touch/pwrkey_suspend  makes the power button toggle s2w/dt2w
If set to 1, pressing power button to turn off screen disables s2w/dt2w and pressing the power button to turn on screen re-enables s2w/dt2w

Signed-off-by: flar2 <asegaert@gmail.com>
command line options for s2w_orientation and pwrkey_suspend

Signed-off-by: flar2 <asegaert@gmail.com>
Disable s2w/dt2w when magnetic cover is used
drivers/input/touchscreen/ektf3k: auto retry 10 times on i2c reads The i2c devices we are connecting to may not be ready yet, or just busy. Retry with a 10ms pause in order to still obtain i2c data. This improves overall i2c data robustness

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
drivers/input/touchscreen/ektf3k: auto retry 10 times on i2c reads The i2c devices we are connecting to may not be ready yet, or just busy. Retry with a 10ms pause in order to still obtain i2c data. This improves overall i2c data robustness

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
[sweep2wake]: adjust shortsweep distance
[doubletap2wake]: get rid of min timeout
[doubletap2wake]: make some adjustments
ELAN EKTF3K expose update fw sysfs patch by CTCaer @XDA - Restore forced TS firmware update sysfs
Fix for CTCaer's patch typo

Signed-off-by: Tk-Glitch <Ti3noU@gmail.com>
Linux 3.4.88 --> 3.4.91

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
Linux 3.4.92

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
Linux 3.4.93
(Bluetooth patches not included)

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>