Revert "android: logger: Allow a UID to read it's own log entries"

This reverts commit 1c8beb6c4e2b7382b6a79989d81e1b47b08efc62.

Change-Id: I14b63d748b6ac52e51a9f8503384f74887ab9c7b
samsung: msm8930: Add sleep status device

Change-Id: Ie9b5e8aec702c64b766020adf3786ed2ca8ef686
samsung: msm8930: modify power collapse seq for kraitv3

Change-Id: Ie8c670765fff3b17cbd8e1e955a7c00bd57c9ced
samsung: msm8930: Fix reservation logic for ADSP heap

Change-Id: I85a651a83eda42fe234558f7a28dc3750d2f9948
msm8930: vidc: Increase bandwidth for 1080p

 * Needed for now because of old bootloader, or
   else recording will crash.

Change-Id: Ib6005855be3f36a38f789d4ff1a49c4210ef07e5
display: samsung: Disable creation of power_reduce sysfs node

Change-Id: I405adf64c2eb483ec8e557ef746cf47193eed190
display: melius: Disable creation of power_reduce sysfs node

 * Device doesn't use it, and causes a useless option to
   appear in CM display settings.

Change-Id: I3aedfbe05c01cc5755093233aabfcaf93db3b24a
msm: display: Cleanup premultiplied stuff

* Leftovers from Samsung

Change-Id: Ibdcc8c56b61ccc303b57b6370353fb10f75f6d4d
init: Support power off charging with old bootloaders

Change-Id: I0ed0f1b898629888dfd0e31ce253d9d5cfdf2978
nfc: pn547: Change device to pn544

 * The OpenSource stack expects this

Change-Id: I0f8ec3b02a2fa00adbcd8743a8730400dd37f455
pm8921-sec-charger-8930: Return 0 when no cable inserted

Change-Id: I32d1a7b2ab6ecd5050a916c3daf38a560f3ce039
ASoC: msm: Use CAF version of msm-pcm-lpa.c

 * Samsung's version doesn't work out of the box on CM

Change-Id: I3458236291178bb0d97f75b1dbe3aef705c50b36
drivers: misc: Generic BLN implementation

Change-Id: Ia515468766b76612e8920c2c73689187048b08e8
serrano: Device implementation of BLN

Change-Id: I8cd70e9915275c4db66c0757a05f1c7b7a43298b
msm: kgsl: Sync with caf/kk_2.7

Change-Id: I1ad5d03aa161abcfa7b6cd4c2eb23b4c2bd39c1d
drivers: staging: prima: Import from old kernel

Change-Id: I04ae50fed642f942e8c3c8a26bddce2292dc4be9
sched: provide per cpu-cgroup option to notify on migrations

On systems where CPUs may run asynchronously, task migrations
between CPUs running at grossly different speeds can cause
problems.

This change provides a mechanism to notify a subsystem
in the kernel if a task in a particular cgroup migrates to a
different CPU. Other subsystems (such as cpufreq) may then
register for this notifier to take appropriate action when
such a task is migrated.

The cgroup attribute to set for this behavior is
"notify_on_migrate" .

Change-Id: Ie1868249e53ef901b89c837fdc33b0ad0c0a4590
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
sched: remove migration notification from RT class

Commit 88a7e37d265 (sched: provide per cpu-cgroup option to
notify on migrations) added a notifier call when a task is moved
to a different CPU. Unfortunately the two call sites in the RT
sched class where this occurs happens with a runqueue lock held.
This can result in a deadlock if the notifier call attempts to do
something like wake up a task.

Fortunately the benefit of 88a7e37d265 comes mainly from notifying
on migration of non-RT tasks, so we can simply ignore the movements
of RT tasks.

CRs-Fixed: 491370
Change-Id: I8849d826bf1eeaf85a6f6ad872acb475247c5926
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
drivers: cpufreq: Send a uevent when governor changes

* Useful so userspace tools can reconfigure.
cpufreq: Fix broken uevents for cpufreq governor and cpu devices

cyanogens uevent commit when the governor changes was rendered
non-working since kitkat (or so) as the uevent filter function
caused events to be dropped. Now hook into cpufreq_core_init()
and cpufreq_add_dev_interface() to create our basic ksets for
cpufreq and cpu devices. Also, we don't need to set environmental
data, so clean it up a bit.

This commit requires a change in ueventd.rc that add rules for
several files of interest.

Change-Id: I3aafa0d4e18363e1d68535f513099ecd27024007