mach-msm: cpufreq: set safe min/max frequencies when cpufreq is inizialize
find7: Enable dynamic debug feature

 * Tests have shown that this no longer introduces a performance issue.

Change-Id: I18166b298ff7fcf841215769b02fdadb1dc310c5
find7: Update defconfig

 * Merge Android "recommended" configuration

Change-Id: I43976c6cc0ea087036643fb3d9b9890fb7f417a5
SCHEDULER: Autogroup patch group by current user android UID instead of task ID

Change-Id: If75958469c49b0b45bcde0291e3983ee69034570
cpufreq: Optimize cpufreq_frequency_table_verify()

cpufreq_frequency_table_verify() is rewritten here to make it more logical
and efficient.
 - merge multiple lines for variable declarations together.
 - quit early if any frequency between min/max is found.
 - don't call cpufreq_verify_within_limits() in case any valid freq is
   found as it is of no use.
 - rename the count variable as found and change its type to boolean.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
setlocalversion: only use first line of git show-ref

When executing the code "git show-ref -s --abbrev --tags $tag" and the
output spans multiple lines, it results in generation of a directory
in the kernel objects causing build failure.

Ex:

$ git show-ref -s --abbrev --tags LNX.LA.3.2-00520-8x26
04163f5
04163f5

Results in:

"ln: target `04163f5-00951-g2403ab9/source' is not a directory"

Fix this by pruning anything after the first line of output.

Change-Id: Iebe1e6fa88951ec0f1dab383adeb6faa72872295
Signed-off-by: Jason Hrycay <jason.hrycay@motorola.com>
scripts: setlocalversion: Do not append -g(SHA)
scripts: setlocalversion: Remove tag-specific labels
LCD_KCAL: Color control driver for mdss_mdp devices

/sys/devices/platform/kcal_ctrl.0/kcal
/sys/devices/platform/kcal_ctrl.0/kcal_min

kcal:
Write RGB LUT data from sysfs. Default values are '255/255/255', send
RGB info 'x x x' to kcal to apply the value and update the LUT.

kcal_min:
Lower values such as 0-10 ultimately create a dark, washed out display,
if a user accidently sets their kcal values to "0 0 0" they will loose
visual control of the device, potentially requiring a hard reboot.
Introduce minimum kcal values to prevent this behavior. kcal_min will
detect and block values attempting to set lower than itself, resetting
the specific values to that of kcal_min. There is also behavior to
adjust the kcal if kcal_min is set to a level higher than that of any
kcal value(s).
LCD_KCAL: Adapt LG's mdss_mdp panel invert feature

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

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pp.c
LCD_KCAL: Fix incorrect refresh usage
LCD_KCAL: Fix improper bounds checking
ak_bacon_defconfig: enable LCD_KCAL
HACK: Workaround for broken camera driver

 * VENUS_BUFFER_SIZE is inlined all over userspace, including in the
   camera driver. The camera driver is ancient, and referenced the
   old calculation which does not include the 8K of padding for
   extradata.
 * Return zero here, so the padding is not included across userspace.
   This will fix the camera, but break several new video features.

 * This issue is a STOPSHIP and must be resolved before final release.

Change-Id: I9e02bd606ececafa13edcf476a261ef7ad39a710
decompressors: group XZ_DEC_* symbols under an if XZ_BCJ / endif

Group all architecture-specific BCJ filter configuration symbols under an
if XZ_BCJ / endif statement.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
decompressors: drop dependency on CONFIG_EXPERT

Remove the XZ_DEC_* depedencey on CONFIG_EXPERT as recommended by Lasse
Colin.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
decompressors: make the default XZ_DEC_* config match the selected architecture

Change the defautl XZ_DEC_* config symbol to match the configured
architecture.  It is perfectly legitimate to support multiple XZ BCJ
filters for different architectures (e.g.: to mount foreign squashfs/xz
compressed filesystems), it is however more natural not to select them all
by default, but only the one matching the configured architecture.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
decompressors: fix typo "POWERPC"

Commit 5dc49c75a26b ("decompressors: make the default XZ_DEC_* config
match the selected architecture") added

	default y if POWERPC

to lib/xz/Kconfig.  But there is no Kconfig symbol POWERPC.  The most
general Kconfig symbol for the powerpc architecture is PPC.  So let's
use that.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Lasse Collin <lasse.collin@tukaani.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
lib/xz: add comments for the intentionally missing break statements

Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
lib/xz: enable all filters by default in Kconfig

This restores the old behavior that existed before 2013-02-22, when
changes were made by 64dbfb444c150 ("decompressors: drop dependency on
CONFIG_EXPERT") and 5dc49c75a2 ("decompressors: make the default
XZ_DEC_* config match the selected architecture").

Disabling the filters only makes sense on embedded systems.

Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Acked-by: Kyle McMartin <kyle@infradead.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>