kernel/power/powersuspend: LCD screen on/off hooks (Yank555.lu)

- add an alternative hook for screen on / off detection in the display
  pannel driver
- sleeps  ~0.1s sooner, wakes up ~1s later then autosleep
- clean up source formatting a bit (Paul Reioux)

Signed-off-by: Paul Reioux <reioux@gmail.com>
kernel/power/powersuspend: cumulative update to version 1.5

- fix hybrid-kernel mode cannot be set through sysfs

kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.4 (Yank555.lu)

- add hybrid-kernel mode (autosleep and panel, first wins)
- default to hybrid-kernel mode
- harmonize debug message with my other stuff
- include all 3 modes as default, so it's only commenting out to change

kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.3 (Yank555.lu)

- fix stupid typo
- add an alternative hook for screen on / off detection in the display panel driver
(sleeps ~0.1s sooner, wakes up ~1s later then autosleep)

kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.2 (Yank555.lu)

- make kernel / userspace mode switchable

kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.1 (Yank555.lu)

- make powersuspend not depend on a userspace initiator anymore, but use a hook in autosleep instead.

kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend (faux123)

Android early_suspend/late_resume PM kernel driver framework has been
deprecated by Google. This new powersuspend PM kernel driver is a replacement
for it and existing early_suspend drivers can be easily adapted to use this
new replacement driver

Signed-off-by: Paul Reioux <reioux@gmail.com>
mdss_dsi_panel.c: add powersuspend hooks
msm-8974: allow underclocking to 288.8 Mhz
mach-msm: do not underclock by default
Add missing file from commit "LCD_KCAL: porting to Xperia Z1 (part 2)"

- Add this file https://github.com/CoolDevelopment/MoshKernel-amami/commit/4f4cc236d198f78b1a9b643f172fbc70c75b1630#diff-2
- Edit build script so that it won't delete it
Revert "FS: import F2FS"

This reverts commit fad9b240738603626adb7b00c4fb64de24a6b0b2.
fs: add support for f2fs

this is the current state of importing(just for merging fixes from upstream):
http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=linux-3.4&id=1bb1af07b03d3e65c02a452aff747efd4390c74c
mach: msm: fix mismatch.

Change-Id: I1f943875f86de5022df31e467c1b4daba48bb27a
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Lets add some moar optimizations

Change-Id: Ib7b03f7f93b8d746ae8a33e90e8c70704cb2bcc5
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
arch/arm/Makefile: Enable pipe compiling

-pipe

Use pipes rather than temporary files for communication between the various stages of
compilation. This fails to work on some systems where the assembler is unable to read
from a pipe; but the GNU assembler has no trouble.

Change-Id: I74b0b8b8321718606ed015eab2e5f08f01809b38
Fix some typos

Change-Id: I6afa3f21c634320af8d92dde9e6c2d27f8862905
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
Fixing up uninitialized variables WIP
  *Maybe...ish?

Signed-off-by: Josue Rivera <prbassplayer@gmail.com>

Conflicts:
	drivers/video/msm/mdss/mdss_fb.c

More uninitialized variables

Change-Id: Icf9de99d1967a17cd819f80da29ad425c207b1af
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
vidc: more typo/derp fixing

Change-Id: I4af9af217405f692d781f714a1c7a06d246e5301
kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function'

Change-Id: Iec8f89dea560eb0bd58b23ac8ce633f9069e4d44
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function' #2

Change-Id: I2547716dea1f45310581fcc830322ec6a024361f
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/namespace: fix: 'warning: 'kernel_dev' may be used uninitialized in this function'

Change-Id: Ibe96bc42a33fbb9dffa1360e8a078e6c7d0a5d30
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
kernel/workqueue.c: avoid array subscript above array boundaries

Change-Id: Id3b89e271fb32bf4015d2f46f717da39468775aa
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/fs-writeback: This trace event causes a ICE in the mentioned compiler

$ arm-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-eabi-gcc
COLLECT_LTO_WRAPPER=/home/showp1984/WORK/toolchain/android-toolchain-eabi/bin/../libexec/gcc/arm-eabi/4.7.2/lto-wrapper
Target: arm-eabi
Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-src/gcc-linaro-4.7-2012.09/configure --prefix=/tmp/android-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.09/build/objdir/temp-install --disable-ppl-version-check --disable-cloog-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libitm --disable-libatomic --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-docs --disable-nls --with-gcc-version=linaro-4.7-2012.09 --with-binutils-version=2.23.51.0.3 --with-gmp-version=5.0.5 --with-mpfr-version=3.1.1 --with-mpc-version=1.0 --target=arm-eabi --enable-threads --enable-tls --disable-libgomp --disable-libstdc__-v3 --disable-libitm --disable-libatomic
Thread model: single
gcc version 4.7.2 20120910 (prerelease) (Linaro GCC 4.7-2012.09)

ICE:
  CC      fs/fs-writeback.o
fs/fs-writeback.c: In function 'bdi_writeback_thread':
fs/fs-writeback.c:685:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:13180
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [fs/fs-writeback.o] Error 1
make: *** [fs] Error 2

Since we don't need traces, just comment it out for now.

Change-Id: I7a8689fbed87fd5da456a71972d00870506363cd
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
fs/namespace: fix: 'warning: 'kernel_type/dir' may be used uninitialized in this function'

Change-Id: Iba8ee4569e1ca956f458b320428da42e7b61d32f
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>