net: flow_dissector: fail on evil iph->ihl

We don't validate iph->ihl which may lead a dead loop if we meet a IPIP
skb whose iph->ihl is zero. Fix this by failing immediately when iph->ihl
is evil (less than 5).

CRs-Fixed: 589913
Change-Id: Ifd7be75d153d7504704e7ff9d8f63fe3767326d2
Acked-by: David Arinzon <darinzon@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
msm: lpm_levels: return new idle level to cpuidle framework

Need to return the new idle level to cpuidle framework
but just returned input value argument 'index' which is
not used actually at lpm_cpu_power_select().

CRs-fixed: 601636
Change-Id: Iabd182eeb4fbdc67f4e07b40a1b593471cf8cbdf
Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
ARM: dts: msm: List all possible BW levels in cpubw for 8974

With the cpubw_hwmon devfreq governor available in Krait based CPUs, it's
important to list all the possible BW levels to get all the benefit from
the cpubw_hwmon governor. Also fix the use of a non-existent BW level in
msm-cpufreq device.

Note that this change has been propagated from msm-3.10 and does not
include the changes made to apq8084.dtsi, since the file was missing
some required changes (e.g. cpufreq and cpubw devices).

Conflicts:
	arch/arm/boot/dts/qcom/apq8084.dtsi
	arch/arm/boot/dts/qcom/msm8974.dtsi

Change-Id: I36f1b2ea59d643106a86b753e5a7a2eed07dab19
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
msm: mdss: hdmi: Proper reauth abort

Properly abort reauthentication to avoid HDCP module going into
bad state and work queue deadlock.

CRs-Fixed: 614803
Change-Id: Iaf9d8d110fd1929394f0a77cfc732f1a5d5c3ba3
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
msm: mdss: hdmi: Proper DDC power off sequence

Shutdown the power for DDC (Display Data Channel) module only
after HDCP (High-bandwidth Digital content Protection) module
has been turned off as HDCP continue to use DDC line until it
is turned off. Also, no need to check for DDC hardware status
on HDCP off as once the cable is disconnected it will not be
updated.

Change-Id: Ic5b8c2d6c4a43bf7d0ed0d420690b7e84bbe3b6c
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
ASoC: msm: change to enable audio for apq8074

Use the soc-compress platform driver APQ8074.

Change-Id: Iab9da993be0c0393df1314b0cfcd5328febf53b8
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
Merge "msm: lpm_levels: return new idle level to cpuidle framework"
Merge "ARM: dts: msm: List all possible BW levels in cpubw for 8974"
Merge "msm: mdss: hdmi: Proper reauth abort"
Merge "msm: mdss: hdmi: Proper DDC power off sequence"
Merge "ASoC: msm: change to enable audio for apq8074"
msm: vidc: add input parameter checks to exported functions

Check for invalid null parameter passed to functions

CRs-Fixed: 606467
Change-Id: I860ca3d69d8705c7b3d6f27f9504b567be5aeea3
Signed-off-by: Jorge Solano Altamirano <jsolano@codeaurora.org>
misc: qfpfuse: Fix overflow condition

Fix potential integer overflow for ioctl command to avoid incorrect
buffer allocation. Use the stack for data buffering to avoid the
small buffer allocation for improved performance. Increase the fuse
blow timeout in the driver to cover all QFPROM implementations.

CRs-Fixed: 550574,550575

Change-Id: Iee3cc1d38aa5dbf8ef693a43a0ca716fc8724c62
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
Merge "misc: qfpfuse: Fix overflow condition"
Merge "net: flow_dissector: fail on evil iph->ihl"
Merge "msm: vidc: add input parameter checks to exported functions"