ARM: S5PC11X: wimax pins sleep current reduction

ARM: S5PC11X: wimax sleep gpio configuration changes
to reduce the sleep current.

Signed-off-by: sangamanatha <sangam.swamy@samsung.com>
ARM: S5PC11X: improve USB signal quality

Tunning of PHY0 Tune Register to improve physical characteristics.
This improves the margin of USB eye diagram, which means
the quality of USB signal is also improved.

Signed-off-by: Thomas Ryu <smilesr.ryu@samsung.com>
video: s3c fimd: Adjust pixclock to match hw settings

* The pixclock used to report refresh rates to userspace
did not reflect the actual frequency that the hardware was
programmed with due to rounding.
Now we recalculate the pixclock based on what is programmed in
the VIDCON0 register.

* The div bits in the control register where not being cleared
before the new value was OR-ed in.

Change-Id: Ic417b67a3324d94727ed82170d31015967bb1ce1
Signed-off-by: JP Abgrall <jpa@google.com>
misc: fsa9480: make interrupt handling more robust

- fsa9480 interrupt is actually triggered low, not falling
- process any queued events and only handle the last

Change-Id: Id7b99068b226346a609454f41d75f10a86259898
Signed-off-by: Simon Wilson <simonwilson@google.com>
misc: samsung_modemctl: Add multipdp support

UMTS models support 3 PDP sessions at same time.
Modified the driver to support multipdp sessions.

Change-Id: I739fa751290288885b163dd76f3879ab8639b683
Signed-off-by: Kocharlakota.sridhar <k.sridhar@samsung.com>
ARM: s5pv210: herring: don't disable prox sensor during suspend

A previous change caused the proximity sensor to become
disabled during suspend to reduce power consumption , but this
needs to remain on if activated.

Change-Id: Idf5ac8df7d1e62f1644820d6590e28eb702ca83b
Signed-off-by: Simon Wilson <simonwilson@google.com>
arm: herring: allow multiple pdp contexts for non-wimax devices
Revert "Revert "Revert "When resuming a FIMC device which is in use the device clock and regulator are kept deactivated except for FIMC0."""

This reverts commit e619604ab965d229930911fb519f59b193a1608f.
Remove Deep Idle v2
ram_console: set CON_ANYTIME console flag

We want to ensure that we get all the console messages, even ones
that occur while the printing CPU is not yet online.

Change-Id: I1d2694d05ac9415669a92f38efdd8e71c927705b
Signed-off-by: Dima Zavin <dima@android.com>
Remove Android PMEM
Input: evdev - Don't hold wakelock when no data is available to user-space

If there is no SYN_REPORT event in the buffer the buffer data is invisible
to user-space. The wakelock should not be held in this case.

Change-Id: Idae890ff0da8eb46a2cfce61a95b3a97252551ad
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Input: evdev - Add ioctl to block suspend while event queue is not empty

Add an ioctl, EVIOCSSUSPENDBLOCK, to enable a wakelock that will block
suspend while the event queue is not empty. This allows userspace code to
process input events while the device appears to be asleep.

The current code holds the wakelock for up 5 seconds for every input
device and client. This can prevent suspend if sensor with a high data
rate is active, even when that sensor is not capable of waking the
device once it is suspended.

Change-Id: I624d66ef30a0b3abb543685c343382b8419b42b9
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Input: evdev - fix variable initialisation

Commit 509f87c (evdev - do not block waiting for an event if
fd
is nonblock) created a code path were it was possible to use retval
uninitialized.

This could lead to the xorg evdev input driver getting corrupt data
and refusing to work with log messages like
	AUO-Pixcir touchscreen: Read error: Success
	sg060_keys: Read error: Success
	AUO-Pixcir touchscreen: Read error: Success
	sg060_keys: Read error: Success
(for drivers auo-pixcir-ts and gpio-keys).

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
android: logger: Allow a UID to read it's own log entries

Modify the kernel logger to record the UID associated with
the log entries. Always allow the same UID which generated a
log message to read the log message.

Allow anyone in the logs group, or anyone with CAP_SYSLOG, to
read all log entries.

In addition, allow the client to upgrade log formats, so they
can get additional information from the kernel.

Change-Id: Ie48fb614b43c9302a07ad2673b78dd8749b492b6
Signed-off-by: Nick Kralevich <nnk@google.com>
xt_IDLETIMER

Add new netlink msg type for IDLETIMER.

Send notifications when the label becomes active after an idle period.
Send netlink message notifications in addition to sysfs notifications.

Change-Id: I31677ef00c94b5f82c8457e5bf9e5e584c23c523
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
switch: add timestamps to switch driver
video: s3cfb_nt35580: initialize brightness.

blank/unblank would leave the brightness set to 0.

Also let tl2796 initialize using the actual lcd->bl default.

Change-Id: I0ad1709443cf6415900768e934d0d28213d088ec
Signed-off-by: JP Abgrall <jpa@google.com>