msm: clock-8960: Add 325MHz support for gfx3d clock

Lastest freq plan uses 325MHz for the gfx3d clock. Add
this support in clock driver.

Change-Id: I5c2217c3d6b2d8cc0b7ec3822397168f332135b6
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
msm: mdp.c fix deadlock which causes blue screen

Dma_s and dma_e pipe were using same mutex incorrectly. Fix bug
to use correct mutex for each dma so that we don't see blue screen
for display using this pipe.

Change-Id: I1f5664774b16308871ef42eeb5c7386a6f132c49
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
msm: Change DSI LDO setting based on HW recommendation.

Changing DSI LDO setting to voltage to match hardware testing
done for auto platform at 85C.

Change-Id: I6ffb458dfbcdc6b965b103895b518339640bc6cd
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
Add config to use s4 or gpio20 for reverse gear

Changes include config to choose whether s4 or
gpio20 is used to trigger the reverse camera.
Also, addition of handling to specify whether
gpio is active high or active low.

Change-Id: I8f658090d0168df3ca0a741531ecafb218150401
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
msm: wlan: Update the wifi regulatory database

Update the regulatory database from the mainline kernel
to address issues related to transmit power levels
advertised for various country codes.

CRs-Fixed: 725522
Change-Id: I995900f216d1f041405f99c7b63fcc585965fe6f
Signed-off-by: Manishekar Chandrasekaran <cmshekar@codeaurora.org>
Merge "msm: wlan: Update the wifi regulatory database"
Merge "msm: Change DSI LDO setting based on HW recommendation."
netfilter: nf_conntrack: decrement global counter after object release

nf_conntrack_free() decrements our counter (net->ct.count)
before releasing the conntrack object. That counter is used in the
nf_conntrack_cleanup_net_list path to check if it's time to
kmem_cache_destroy our cache of conntrack objects. I think we have
a race there that should be easier to trigger (although still hard)
with CONFIG_DEBUG_OBJECTS_FREE as object releases become slowier
according to the following splat:

[ 1136.321305] WARNING: CPU: 2 PID: 2483 at lib/debugobjects.c:260
debug_print_object+0x83/0xa0()
[ 1136.321311] ODEBUG: free active (active state 0) object type:
timer_list hint: delayed_work_timer_fn+0x0/0x20
...
[ 1136.321390] Call Trace:
[ 1136.321398]  [<ffffffff8160d4a2>] dump_stack+0x45/0x56
[ 1136.321405]  [<ffffffff810514e8>] warn_slowpath_common+0x78/0xa0
[ 1136.321410]  [<ffffffff81051557>] warn_slowpath_fmt+0x47/0x50
[ 1136.321414]  [<ffffffff812f8883>] debug_print_object+0x83/0xa0
[ 1136.321420]  [<ffffffff8106aa90>] ? execute_in_process_context+0x90/0x90
[ 1136.321424]  [<ffffffff812f99fb>] debug_check_no_obj_freed+0x20b/0x250
[ 1136.321429]  [<ffffffff8112e7f2>] ? kmem_cache_destroy+0x92/0x100
[ 1136.321433]  [<ffffffff8115d945>] kmem_cache_free+0x125/0x210
[ 1136.321436]  [<ffffffff8112e7f2>] kmem_cache_destroy+0x92/0x100
[ 1136.321443]  [<ffffffffa046b806>] nf_conntrack_cleanup_net_list+0x126/0x160 [nf_conntrack]
[ 1136.321449]  [<ffffffffa046c43d>] nf_conntrack_pernet_exit+0x6d/0x80 [nf_conntrack]
[ 1136.321453]  [<ffffffff81511cc3>] ops_exit_list.isra.3+0x53/0x60
[ 1136.321457]  [<ffffffff815124f0>] cleanup_net+0x100/0x1b0
[ 1136.321460]  [<ffffffff8106b31e>] process_one_work+0x18e/0x430
[ 1136.321463]  [<ffffffff8106bf49>] worker_thread+0x119/0x390
[ 1136.321467]  [<ffffffff8106be30>] ? manage_workers.isra.23+0x2a0/0x2a0
[ 1136.321470]  [<ffffffff8107210b>] kthread+0xbb/0xc0
[ 1136.321472]  [<ffffffff81072050>] ? kthread_create_on_node+0x110/0x110
[ 1136.321477]  [<ffffffff8161b8fc>] ret_from_fork+0x7c/0xb0
[ 1136.321479]  [<ffffffff81072050>] ? kthread_create_on_node+0x110/0x110
[ 1136.321481] ---[ end trace 25f53c192da70825 ]---

CRs-fixed: 717356
Change-Id: I5e4aff3390cadadbac9ffe8fcdb651c79e42c685
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-commit: 0c3c6c00c69649f4749642b3e5d82125fde1600c
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Merge "Add config to use s4 or gpio20 for reverse gear"
Merge "netfilter: nf_conntrack: decrement global counter after object release"
msm: mdp4: Remove extra vsync wait when powering up lcdc/ lvds

For ADP2 and ADP2.5 platform we don't need this extra vsync wait
that was causing underrun on ADP platform. Remove this extra wait
to improve first frame time for early camera.

Change-Id: I2f06f89a3e2ef454236d8ad76a068b42c05a2d63
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
msm: Change LVDS PLL phy settings for chimei panel

Change LVDS PLL phy settings to match the pixel frequency of the
chimei panel.

Change-Id: I34c7471b93d5de6f619c199c82bdf892596ef743
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
arch: msm: configure MPP 7 output high by default

Configure MPP 7 output high

Change-Id: Ieb3fd1e974232f3aeb1f89e4862632670c253fb9
Signed-off-by: Ke Liu <keliu@codeaurora.org>
Signed-off-by: Atul Raut <araut@codeaurora.org>
msm: mdp4: adding vsync and underrun intr for secondary display

Interrupts for secondary display not handled properly. Adding
vsync and underrun interrupts as auto has more secondary display
use cases.

Change-Id: Iaca189056ef1b23ae2141115238345080b514a89
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
defconfig: Set config to use s4 switch to launch rear view camera

Configure adp platform to use s4 switch to launch
rear view camera.

Change-Id: I7c400377969c0d9fb99d8da95af91c7e883411bc
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Merge "msm: mdp.c fix deadlock which causes blue screen"
Merge "arch: msm: configure MPP 7 output high by default"
Merge "msm: mdp4: adding vsync and underrun intr for secondary display"
Merge "msm: mdp4: Remove extra vsync wait when powering up lcdc/ lvds"
Merge "defconfig: Set config to use s4 switch to launch rear view camera"