bcmdhd: Import from Google msm-android-msm-hammerhead-3.4-kk-r1
bcmdhd: fix crash when p2p is not supported by firmware. Fixes bcm4329
net: wireless: bcmdhd: reduced the wakelock time of RX packet

Reduce time : 1secs -> 500ms
Problem : [Issue 11512235] 34% battery eaten overnight
  [Issue 11374623] OS + Wifi used 41% of battery,
  wlan_rx_wake
Signed-off-by: Ecco Park <eccopark@broadcom.com>
net: wireless: Import from Google msm-android-msm-hammerhead-3.4-kk-r1

Conflicts:
	include/linux/nl80211.h
	include/net/cfg80211.h
	net/wireless/nl80211.c
clock-8x60: Remove MDP clock freqs not used in original panel driver

In the original 3.0.16 panel driver, HTC specified a set of MDP clocks to use for scaling: 59MHz, 128MHz, 160MHz, and 200MHz.

This fixes the visual glitch where the very leftmost column of pixels copying what the very rightmost column of pixels displays.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
af_netlink: Fix compile errors
Linux 3.4.91
qseecom: Validate pointer offset in qseecom_send_modfd_cmd

Validate cmd_req_buf pointer offset in qseecom_send_modfy_cmd, and
make sure cmd buffer address to be within shared bufffer.

Signed-off-by: Zhen Kong <zkong@codeaurora.org>

Change-Id: I431511a92ab2cccbc2daebc0cf76cc3872689a97
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Signed-off-by: Vignesh Veeramani <quicvignes@codeaurora.org>
msm: Create shadow files under /sys/kernel/ipv4

The TCP delayed ack parameters can be configured from user space
application which runs with non-root credentials and does not have
direct write access to /proc entries. This commit creates shadow
files under /sys/kernel/ipv4 which maps to /proc/sys/net/ipv4.

CRs-Fixed: 628139
Change-Id: If9f5e8f1f5f31c39090555b7b0c40efcdf6ccd08
Signed-off-by: Ravi Joshi <ravij@codeaurora.org>
msm: msm_fb: Handle out of order msm_fb ioctls

Handle two cases when ioctls are received when they are not expected.
 - Writeback ioctls received when writeback (FB2) is not active.
 - Writeback ioctls received in random sequence when writeback (FB2)
   is active.

Change-Id: I54982e1aef09fd9c7df9354a139ac34219017951
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Fix yellow glitch in camera

Change-Id: I4da4c412e844d84c066def58e79c4aa401ee907c
pyramid: Optimize memory map for more RAM

based on https://github.com/sultanxda/akh8960_cm/commit/181102e675173fc27e928f1755682f550977612b

*Removed ION camera heap (the ION camera heap is a legacy heap only used on MSM8660. The camera HAL is from an MSM8960 device, so it doesn't use the ION camera heap. Instead, it uses MM and IOMMU, but because we have no IOMMU, the HAL falls back to MM and uses MM for both camera preview and SMI)
*Userspace now has 603MB of RAM (a 48MB increase)

Change-Id: I420e8bd395e273b79a81da72220ef595a5248962
pyramid: mipi: Fix kernel not booting on some AUO devices

Thanks to ivanich for the help researching this.