Revert "readded wakelock: instead of directly going to suspend_mem, use the new suspend_freeze"

This reverts commit f09fe08a049953111d684d251ec4cf3052a87de6.
Revert "PM: Introduce suspend state PM_SUSPEND_FREEZE"

This reverts commit f28d5cc67d68731a1b5680b6659df6366c7a7469.
Implement USB HID Keyboard/Mouse ROLE support for Android device
https://github.com/pelya/android-keyboard-gadget

needs supported APK from :
https://raw.githubusercontent.com/pelya/android-keyboard-gadget/master/USB-Keyboard.apk
s6e8aa0: Allow manual brightness to 300 candela
Revert "s3cfb_ops: Attempt to fix Note 2 LPM (off charging mode) issue (Ketut Kumajaya)"

This reverts commit e67f7178d9e7116974fe73082896a1cbf55648ce.
Revert "Read LPM state from JB bootloader"

This reverts commit 4fdb6cb4ad06485e3222b4431e1d52142ea049b1.
revert changes from kernel/sched.c introduced from SAMSUNG OSRC I9305 EUR KK Update
deadline: Allow 0ms deadline latency, increase the read speed

Change a timer compare from after to after-equals, thus allowing
0 timeout and making deadline schedule FIFO.

Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
ext4: remove some debugging functions by Samsung & sync with kernel.org

Remove some debugging functions by Samsung

and correctly apply inode handling from upstream kernel.org's stable/linux-3.0.y

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Input: Send events one packet at a time

On heavy event loads, such as a multitouch driver, the irqsoff latency
can be as high as 250 us.  By accumulating a frame worth of data
before passing it on, the latency can be dramatically reduced.  As a
side effect, the special EV_SYN handling can be removed, since the
frame is now atomic.

This patch adds the events() handler callback and uses it if it
exists. The latency is improved by 50 us even without the callback.

Change-Id: Iebd9b1868ae6300a922a45b6d104e7c2b38e4cf5
Cc: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Tested-by: Ping Cheng <pingc@wacom.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>

Input: Improve the events-per-packet estimate

The events-per-packet estimate has so far been used by MT devices
only. This patch adjusts the packet buffer size to also accomodate the
KEY and MSC events.  Keyboards normally send one or two keys at a
time. MT devices normally send a number of button keys along with the
MT information.  The buffer size chosen here covers those cases, and
matches the default buffer size in evdev. Since the input estimate is
now preferred, remove the special input-mt estimate.

Reviewed-and-tested-by: Ping Cheng <pingc@wacom.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
fs: default to noatime/nodiratime

Signed-off-by: arter97 <qkrwngud825@gmail.com>
add v5.1 configs
Set _MALI_API_VERSION as "29" to support newer 4.4.4 mali blobs