Initial import of AU_LINUX_ANDROID_JB_2.5.04.02.02.040.589
Fix makefiles and update .gitignore
Revert "qup_i2c: Use separate variables to store i2c gpios settings"

This reverts commit 7257fe154eedb63d1006f0d89b45d0106157db93.
Revert "qup_i2c: Update clock ready check condition"

This reverts commit 4a0d1f615d97dc4986f2b997a04ec54be1d99a8c.
Revert "qup_i2c: Avoid potential panic issue"

This reverts commit 303d4acb74c17b73c1b56697b66036ddc0126bc9.
Revert "qup_i2c: Manage gpio configuration from runtime pm."

This reverts commit b5dd0b4fb11a26b7fed9f22afea46bddcd5f1d91.
Revert "qup_i2c: Add runtime PM support to I2C QUP controller"

This reverts commit cf2ce979c92b495dc78dfc1ce6997306686f03bf.
Revert "qup_i2c: turn off the ahb clock conditionally."

This reverts commit b4696c71b264f89d2c73f250c195b58a2d657921.
Revert "qup_i2c: set up node before calling of_i2c_register_devices"

This reverts commit f8f1a46cb8984d468c9acb86e9e22ff3658d63c7.
Revert "msm: clock: Add handoff ops for 7x30 and copper XO clocks"

This reverts commit c4388bf36dda91b3f6d6a548c9f884615d684da8.
Revert "msm: clock-pcom: Add handoff support for pcom clocks"

This reverts commit 30ccb70f30cddb0fb4be75154948142d2184b2bd.
Revert "msm: clock: Add handoff functions for most PLL clock types"

This reverts commit 4a36a7e00d55aae65a22d19f34674f36d076d195.
Revert "msm: Remove pmem_kalloc APIs"

This reverts commit 42b01a9bf261d0b7ba33045aa44e744fe55f6904.
Revert "android: logger: Allow a UID to read it's own log entries"

This reverts commit 1c8beb6c4e2b7382b6a79989d81e1b47b08efc62.
Revert "mmc: msm_sdcc: Advertise erase capability"

Play it safe regarding possible bricks.

This reverts commit 2f32fa2a220beb380244e1d5e6e1b10cc3b605da.
Revert "android: lowmemorykiller: add lmk parameters tunning code."

This reverts commit 22d990a58fc17b3f0155e15eb2dc3efa037bea1c.
msm: Kconfig: Select ARM_HAS_SG_CHAIN for 7630/8x55

ION allocations in SYSTEM_HEAP now uses alloc_pages() and not
vmalloc(). This will add one entry into sg_table for each page
of allocation. With this, sg_table may over-cross the limit
of fitting into one page for bigger sized allocations. So,
accommodate extended sg_table entries by chaining more pages.

ARCH_HAS_SG_CHAIN will enable this chain of pages. Enable
ARM_HAS_SG_CHAIN to select ARCH_HAS_SG_CHAIN.

(cherry picked from commit 62a2f7c52ab959868f5350695897932846099784)

(cherry picked from commit 9ca7a19f891b4eecb2fa93ac0a428bedd5a197d9)

Change-Id: If627a56be47100342ea7f62f6ca8387ab6bc17a9
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
leds: Queue screen brightness on the suspend workqueue.

Queueing screen brightness change on suspend workqueue ensures that
userspace initiated changes to screen brightness (especially when
the END key is pressed) so not get triggered while early suspend
is in progress.

CRs fixed: 265531

Change-Id: I923e5a4c9ed498336ca5c61e5b4758be3545b49b
Signed-off-by: Anurag Singh <anursing@codeaurora.org>
ancora: Bring in misc drivers from old kernel
ancora: Bring in touchscreen driver