Revert "Re-add SmartAssV2 gov"

This reverts commit 1ff617b66eb5be75dc804505bf1eba4ce42e70dd.
Revert "input: touchscreen: d2_fw: Update firmware"

This reverts commit f3550eec0710c6edca8d411b46f60ca066d89fb7.
Revert "Revert "msm: acpuclock-krait: Init to max speed""

This reverts commit bcf774f5e81435ca44b49290456cd863b0df28cb.
Revert "Fix for incompatibility"

This reverts commit dbf701bec76ec2dfa4ff5986c3c5547c2b6dc85b.
Revert "Revert "input: glorious touchkey backlight animation""

This reverts commit 97862f7929faa7e441161f60fe3d4cc382b9867c.
Revert "Revert "input: fix touchkey IRQ toggling""

This reverts commit 0b16193656d7d9bffb9aa703d8e7009e0826d701.
Revert "Revert "input: fixups for touchkey animation""

This reverts commit 625527940c5739ee971d8f78c5c65bf97b993e9b.
Revert "Revert "input: make touchkey leds behave as expected""

This reverts commit 3cb5567e9341c59ae978ad0fac9da3efec5d3b25.
Revert "Revert "input: touchkeys: fix an obvious deadlock""

This reverts commit 44bb9e4921ba2f87c90df5768511a04898367e3d.
msm: avoid stack frame exceeding the limit of 1024 bytes

From: https://github.com/RaymanFX/kernel_sony_msm8x60/commit/f06c3ae83a63ddf2a047e270fcccbc1f15012ac8

The frame size of the {link|str_line} variable was exceeding the limit of
1024 bytes, hence GCC threw up a warning.
The cause of this was our stack frame maximum limit was nearly fulfilled
by other variables already, thus leaving no bytes for increasing the value
of an existing variable (which was caused by a CAF commit in this branch).
To move things out of the stack frame, we had two possibilities:
1) move the variable to heap memory
2) move the variable to global memory

Solution 1 would need a more complicated implementation, so it was decided
to go with the second solution, which uses the global memory.

Signed-off-by: Luis Cruz <ljc2491@gmail.com>
arm: remove 'TODO' warning for ARM_UNWIND

- we get it, you want return_address to use unwind tables, but that has yet
to be done since implementation. this 'TODO' is not mine, so stop reminding
me about it
- removes: arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
ARM: 7482/1: topology: fix section mismatch warning for init_cpu_topology

Get rid of this warning..
arch/arm/kernel/built-in.o(.text+0xac78): Section mismatch in reference
from the function init_cpu_topology() to the function
 .init.text:parse_dt_topology()
The function init_cpu_topology() references
the function __init parse_dt_topology().
This is often because init_cpu_topology lacks a __init
annotation or the annotation of parse_dt_topology is wrong.

Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
ARM: kernel: enhance MPIDR macro definitions

Kernel subsystems other than the topology layer need the MPIDR
mask definitions to access the MPIDR without relying on hardcoded
masks. This patch moves the MPIDR register masks definition to
a header file and defines a macro to simplify access to MPIDR bit fields
representing affinity levels.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
ARM: kernel: update topology to use new MPIDR macros

This patch updates the topology initialization code to use the newly
defined accessors to retrieve the MPIDR affinity levels.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
arm: remove cast for kzalloc return value

remove cast for kzalloc return value.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
ARM: 7742/1: topology: export cpu_topology

The cpu_topology symbol is required by any driver using the topology
interfaces, which leads to a couple of build errors:

ERROR: "cpu_topology" [drivers/net/ethernet/sfc/sfc.ko] undefined!
ERROR: "cpu_topology" [drivers/cpufreq/arm_big_little.ko] undefined!
ERROR: "cpu_topology" [drivers/block/mtip32xx/mtip32xx.ko] undefined!

The obvious solution is to export this symbol.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: stable@vger.kernel.org
Cc: Nicolas Pitre <nico@linaro.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
ARM: topology: remove hwid/MPIDR dependency from cpu_capacity

Currently the topology code computes cpu capacity and stores it in
the list along with hwid(which is MPIDR) as it parses the CPU nodes
in the device tree. This is required as it needs to be mapped to the
logical CPU later.

Since the CPU device nodes can be retrieved in the logical ordering
using DT/OF helpers, its possible to store cpu_capacity also in logical
ordering and avoid storing hwid for each entry.

This patch removes hwid by making use of of_get_cpu_node.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
ARM: 7920/1: topology: Staticise non-exported symbols

These symbols are only referenced in this source file so can be made
static, and the efficiency table is constant data so can be declared as
such.  This avoids polluting the global namespace and fixes warnings
from sparse.

The function arch_scale_freq_power() is still not prototyped or static,
this is a separate issue as this is overriding a weak symbol from the
scheduler which neglects to provide a prototype.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
mms_ts_144: Increase touchscreen sensitivity

0xlab did similar for DevKit8000 here:
https://gitorious.org/0xlab-kernel/kernel/commit/f5a258642408fd7820d7aefc58d1eb3719e06b8a

In games where touchscreen wasn't responding very well, this definitely improved the
gaming experience.

Signed-off-by: Luis Cruz <ljc2491@gmail.com>
M2: Tweak GPIO Key sensitivity

Sick of accidentally long-pressing to skip, when I mean to turn volume up on CM.
:(

Signed-off-by: Luis Cruz <ljc2491@gmail.com>