msm: camera: Fix for HFR issue on 8MP sensor

Update mt9e013 aptina sensor driver structures
to use appropriate settings for High Frame Rate
modes.

Change-Id: I1059a70333befa068569c0896796ed09dd8c5554
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
msm: iommu: Enable IO-MMU support for 8660

Enable IO-MMU driver for 8660 defconfigs

Change-Id: I5108060167ea8e8ce214cfcdccc3d35cc9fc87d5
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
devices-7k: Fix section mismatches

WARNING: vmlinux.o(.text+0x9942c): Section mismatch in reference
from the function msm_pm_register_irqs() to the function
.init.text:msm_pm_set_irq_extns()
The function msm_pm_register_irqs() references
the function __init msm_pm_set_irq_extns().
This is often because msm_pm_register_irqs lacks a __init
annotation or the annotation of msm_pm_set_irq_extns is wrong.

Change-Id: Ibdd1a12fb01feca916005ad2082764174023ceb8
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
ARM: mm: Fix section mismatches

WARNING: vmlinux.o(.text+0x111b8): Section mismatch in reference
from the function arm_memory_present() to the function
.init.text:memory_present()
The function arm_memory_present() references
the function __init memory_present().
This is often because arm_memory_present lacks a __init
annotation or the annotation of memory_present is wrong.

WARNING: arch/arm/mm/built-in.o(.text+0x1edc): Section mismatch
in reference from the function alloc_init_pud() to the function
.init.text:alloc_init_section()
The function alloc_init_pud() references
the function __init alloc_init_section().
This is often because alloc_init_pud lacks a __init
annotation or the annotation of alloc_init_section is wrong.

Change-Id: I034f84aca6fc9f47438140eb46db58dbe91bd8c3
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
usb: gadget: Fix section mismatch

WARNING: drivers/usb/gadget/g_android.o(.text+0x323e4): Section
mismatch in reference from the function acc_function_bind() to
the function .init.text:T.2968()
The function acc_function_bind() references
the function __init T.2968().
This is often because acc_function_bind lacks a __init
annotation or the annotation of T.2968 is wrong.

Change-Id: Ic93f1dd8fcfdc4d87fe19811122b46c5bb0e1bc2
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
ASoc: msm: Modify debug messages with correct levels

Modify some of the debug messages in codec driver and
afe driver to debug from error to prevent excessive
logging

Change-Id: Ib0ccf0708cfd7965b52a5f672e7e681ff182b3d6
CRs-fixed: 355418
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
msm_fb: display: increase mdp upscaling range

The old range is x8. Acturally mdp rgb or vg pipes can scale up more
than that. The max up to x20 is verified.

CRs-fixed: 340747
Change-Id: Ief7ee936e39de2ada87d47b14872bca0c3cf36a7
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
USB: OTG: Fix PHY stuck issue in USB HOST mode

Disable PHY VBUS comparator if otg driver depends on PMIC
for VBUS and ID notifications. If enabled, VBUS comparator is
creating some noise to SESSVLD comparator and causing SESSVLD
comparator to trigger low due to which link state machine becomes
stuck as it operates solely on that value.

CRs-Fixed: 355991
Change-Id: Ieb8101f3063ebf9898da3ec9fd158c248a6cb15a
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
msm: clock-local: Consolidate definitions of clk_ops

Move clk_ops_rcg and clk_ops_branch into clock-local.c and stop
exporting a handful of local clock functions to arch specific
drivers. Only expose the clk_ops structs.

This cuts down on the lines of code and discourages use of the
clock-local code outside of clock-local.c.

Change-Id: Iba248a4d11714b91e945bb1846a42924d1d4f8db
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
msm: boards: Fix section mismatches

Too many to list but these functions are usually called from
__init marked functions and they're static so the section
mismatch is benign.

Change-Id: Ie0aeaccef4f3899ea634b27ae03f5c85d33bee0c
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
msm: camera: stop VPE cleanly when mediaserver crashes.

When mediaserver process crashes, we should disable the VPE first
and then unmap the base register address. Otherwise, subsequent
io reads and writes will cause a kernel fault.

Change-Id: Id4432867039ace5e4483d528e1e48f0cc4b0dce8
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
vidc: Add extra cases for error handling in vidc init

Currently error conditions are not handled properly
if failures occur during irq request or while creating
work queue. With this commit these error conditions
are properly handled.

Change-Id: I618ca5c2a4f6bd09a3edd164a7867a90a9ed9f9a
CRs-Fixed: 355753
Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Merge "msm_fb: display: increase mdp upscaling range" into msm-3.0
Merge "msm: boards: Fix section mismatches" into msm-3.0
Merge "USB: OTG: Fix PHY stuck issue in USB HOST mode" into msm-3.0
Merge "msm: camera: Fix for HFR issue on 8MP sensor" into msm-3.0
Merge "msm: camera: stop VPE cleanly when mediaserver crashes." into msm-3.0
Merge "msm: clock-local: Consolidate definitions of clk_ops" into msm-3.0
usb: gadget: Add remote wakeup event to ci13xxx UDC

When the gadget initiates remote-wakeup, raise an event to
the component that handles power management, so it can trigger
a runtime resume, if needed.

Change-Id: Ia3ed500b96ed09347e594d1e74209fdfef554263
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Merge "vidc: Add extra cases for error handling in vidc init" into msm-3.0