OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "msm: sensor: Enable combo mode in 10NM CSI PHY"
Linux Build Service Account [Thu, 8 Sep 2016 21:32:06 +0000 (14:32 -0700)]
Merge "msm: sensor: Enable combo mode in 10NM CSI PHY"

7 years agoMerge "ARM: dts: msm: Voter clocks for mmss_camss_jpeg0_clk for msmcobalt"
Linux Build Service Account [Thu, 8 Sep 2016 21:32:05 +0000 (14:32 -0700)]
Merge "ARM: dts: msm: Voter clocks for mmss_camss_jpeg0_clk for msmcobalt"

7 years agoMerge "msm: camera: jpegdma: Reg values stored in array at alternate indices"
Linux Build Service Account [Thu, 8 Sep 2016 21:32:04 +0000 (14:32 -0700)]
Merge "msm: camera: jpegdma: Reg values stored in array at alternate indices"

7 years agoMerge "ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:18 +0000 (08:48 -0700)]
Merge "ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()"

7 years agoMerge "power_supply: add two properties for step charging"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:18 +0000 (08:48 -0700)]
Merge "power_supply: add two properties for step charging"

7 years agoMerge "msm: ipa: add dma test suite"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:17 +0000 (08:48 -0700)]
Merge "msm: ipa: add dma test suite"

7 years agoMerge "PM / devfreq: bw_hwmon: Add HW offload support to governor"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:16 +0000 (08:48 -0700)]
Merge "PM / devfreq: bw_hwmon: Add HW offload support to governor"

7 years agoMerge "msm: vidc: Enhance debug capabilities of video driver"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:15 +0000 (08:48 -0700)]
Merge "msm: vidc: Enhance debug capabilities of video driver"

7 years agoMerge "input: ft5x06: defer touch resume to workqueue"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:15 +0000 (08:48 -0700)]
Merge "input: ft5x06: defer touch resume to workqueue"

7 years agoMerge "clk: msm: Select appropriate clock flags for 32-bit"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:13 +0000 (08:48 -0700)]
Merge "clk: msm: Select appropriate clock flags for 32-bit"

7 years agoMerge "ARM: dts: msm: Update debug uart support for msmfalcon"
Linux Build Service Account [Wed, 7 Sep 2016 15:48:13 +0000 (08:48 -0700)]
Merge "ARM: dts: msm: Update debug uart support for msmfalcon"

7 years agoMerge "ASoC: wcd934x: Adjust DMIC clock based on sample rate"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:50 +0000 (03:21 -0700)]
Merge "ASoC: wcd934x: Adjust DMIC clock based on sample rate"

7 years agoMerge "msm: ipa: fix skb recycle logic"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:49 +0000 (03:21 -0700)]
Merge "msm: ipa: fix skb recycle logic"

7 years agoMerge "msm: qdsp6v2: update CVD version"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:48 +0000 (03:21 -0700)]
Merge "msm: qdsp6v2: update CVD version"

7 years agoMerge "ASoC: sound: soc: fix incorrect max value"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:47 +0000 (03:21 -0700)]
Merge "ASoC: sound: soc: fix incorrect max value"

7 years agoMerge "mmc: host: Add check for post tuning in HS400"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:46 +0000 (03:21 -0700)]
Merge "mmc: host: Add check for post tuning in HS400"

7 years agoMerge "slim-msm: Differentiate SSR from Noise during power up"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:45 +0000 (03:21 -0700)]
Merge "slim-msm: Differentiate SSR from Noise during power up"

7 years agoMerge "soc: qcom: rpm-smd: wait till all active set acks are cleared"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:44 +0000 (03:21 -0700)]
Merge "soc: qcom: rpm-smd: wait till all active set acks are cleared"

7 years agoMerge "usb: gsi: Queue control notification on gsi_resume"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:42 +0000 (03:21 -0700)]
Merge "usb: gsi: Queue control notification on gsi_resume"

7 years agoMerge "ASoC: wcd-mbhc: disable fake electrical interrupts"
Linux Build Service Account [Wed, 7 Sep 2016 10:21:41 +0000 (03:21 -0700)]
Merge "ASoC: wcd-mbhc: disable fake electrical interrupts"

7 years agoext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()
Theodore Ts'o [Wed, 7 Sep 2016 07:08:31 +0000 (10:08 +0300)]
ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()

We aren't checking to see if the in-inode extended attribute is
corrupted before we try to expand the inode's extra isize fields.

This can lead to potential crashes caused by the BUG_ON() check in
ext4_xattr_shift_entries().

Upstream commit: 9e92f48c34eb2b9af9d12f892e2fe1fce5e8ce35
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Change-Id: Ia66e005d04bf9eccb7febd8cb0733a67f9a4faf4
Git-commit: 1f002539e6da1e03cede84fb3416c58dae2f6f66
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
7 years agoext4 crypto: fix memleak in ext4_readdir()
Kirill Tkhai [Wed, 7 Sep 2016 07:03:16 +0000 (10:03 +0300)]
ext4 crypto: fix memleak in ext4_readdir()

When ext4_bread() fails, fname_crypto_str remains
allocated after return. Fix that.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
CC: Dmitry Monakhov <dmonakhov@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@google.com>
Change-Id: Id3fc6ad39f771a0dbcab0c46a2df4f29cdb398f0
Git-commit: 7bf19038854f2bda589db4224124dee11968cdf3
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
7 years agoext4 crypto: revalidate dentry after adding or removing the key
Theodore Ts'o [Sun, 28 Aug 2016 16:42:36 +0000 (19:42 +0300)]
ext4 crypto: revalidate dentry after adding or removing the key

Add a validation check for dentries for encrypted directory to make
sure we're not caching stale data after a key has been added or removed.

Also check to make sure that status of the encryption key is updated
when readdir(2) is executed.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Theodore Ts'o <tytso@google.com>
Git-commit: b4fd46149cbb118c6c2fa29f24391e79b87862b7
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Change-Id: I64ea95854de3c633b17bea0b63ab658e1524befb
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
7 years agopower_supply: add two properties for step charging
Harry Yang [Wed, 31 Aug 2016 23:07:30 +0000 (16:07 -0700)]
power_supply: add two properties for step charging

STEP_CHARGING_ENABLED indicates if step charging is enabled or not.
STEP_CHARGING_STEP reflects step charging phase.

Both properties are added for the purpose of testing and debugging.

CRs-Fixed: 1052854
Change-Id: I7d7517ab3f172016bb2f1c23fb2788bbd2d01086
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agomsm: ipa: add dma test suite
Ghanim Fodi [Mon, 29 Aug 2016 11:14:28 +0000 (14:14 +0300)]
msm: ipa: add dma test suite

Add IPA DMA test suite to IPA driver. Different
tests are being added to cover different IPA
DMA functionalities.

CRs-Fixed: 1060507
Change-Id: Icf927ce1eb7107007e1cc5c7b5f0a63814510398
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agoinput: ft5x06: defer touch resume to workqueue
zhaoyuan [Tue, 10 Nov 2015 05:17:46 +0000 (13:17 +0800)]
input: ft5x06: defer touch resume to workqueue

During device resume, the touch resume function is called after display's
resume. In this case, the ft5x06's resume function needs to wait for
200ms because of reset requirement. Defer the touch resume to a workqueue
to reduce the total device resume time. For this an optional DT property
is added to enable this on targets that need this feature.

Change-Id: Ib0677ca792aea83ece1caf8a0afff341302747fb
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
7 years agoMerge "ASoC: wcd934x: Update codec master clock configuration"
Linux Build Service Account [Mon, 5 Sep 2016 23:21:42 +0000 (16:21 -0700)]
Merge "ASoC: wcd934x: Update codec master clock configuration"

7 years agoMerge "ASoC: wcd934x: Fix register default for MAD buffer interval"
Linux Build Service Account [Mon, 5 Sep 2016 23:21:42 +0000 (16:21 -0700)]
Merge "ASoC: wcd934x: Fix register default for MAD buffer interval"

7 years agomsm: ipa: fix skb recycle logic
Skylar Chang [Sun, 28 Aug 2016 05:53:22 +0000 (22:53 -0700)]
msm: ipa: fix skb recycle logic

skbs are recycled on LAN pipe. This changes
fixes a bug where the skb was freed before recycle.

Change-Id: I35734cd41aee8bdd2764d6307f76bedcb916a07b
CRs-Fixed: 1060534
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoMerge "msm: mdss: fix adaptive variable refresh and dynamic fps concurrency"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:54 +0000 (13:52 -0700)]
Merge "msm: mdss: fix adaptive variable refresh and dynamic fps concurrency"

7 years agoMerge "usb: phy: handle phy related regulators properly"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:53 +0000 (13:52 -0700)]
Merge "usb: phy: handle phy related regulators properly"

7 years agoMerge "input: ft5x06_ts: add sysfs to access touch module info"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:49 +0000 (13:52 -0700)]
Merge "input: ft5x06_ts: add sysfs to access touch module info"

7 years agoMerge "input: ft5x06_ts: remove proximity sensor support"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:49 +0000 (13:52 -0700)]
Merge "input: ft5x06_ts: remove proximity sensor support"

7 years agoMerge "qcom-charger: smb138x: update FCC settings in smb_params table"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:48 +0000 (13:52 -0700)]
Merge "qcom-charger: smb138x: update FCC settings in smb_params table"

7 years agoMerge "qcom-charger: smb2: configure stat pin for parallel charging"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:48 +0000 (13:52 -0700)]
Merge "qcom-charger: smb2: configure stat pin for parallel charging"

7 years agoMerge "msm: ipa3: Fix timeout period of IPA resource add dependency"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:47 +0000 (13:52 -0700)]
Merge "msm: ipa3: Fix timeout period of IPA resource add dependency"

7 years agoMerge "Replace %p with %pK to prevent leaking kernel address"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:46 +0000 (13:52 -0700)]
Merge "Replace %p with %pK to prevent leaking kernel address"

7 years agoMerge "diag: Do not open glink channel twice"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:46 +0000 (13:52 -0700)]
Merge "diag: Do not open glink channel twice"

7 years agoMerge "msm: ipa3: Fix wrong parameter to xdci release function"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:45 +0000 (13:52 -0700)]
Merge "msm: ipa3: Fix wrong parameter to xdci release function"

7 years agoMerge "ARM: dts: msm: Update qusb2 efuse address for msmcobalt-v2"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:43 +0000 (13:52 -0700)]
Merge "ARM: dts: msm: Update qusb2 efuse address for msmcobalt-v2"

7 years agoMerge "usb: phy: qusb: Update tune1 param from efuse register"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:42 +0000 (13:52 -0700)]
Merge "usb: phy: qusb: Update tune1 param from efuse register"

7 years agoMerge "tty: serial: msm: Add runtime PM and system sleep support"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:41 +0000 (13:52 -0700)]
Merge "tty: serial: msm: Add runtime PM and system sleep support"

7 years agoMerge "netfilter: xt_quota2: 3.18 netlink notification fix"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:41 +0000 (13:52 -0700)]
Merge "netfilter: xt_quota2: 3.18 netlink notification fix"

7 years agoMerge "usb: dwc3: restart usb upon endpoint cmd timeout"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:40 +0000 (13:52 -0700)]
Merge "usb: dwc3: restart usb upon endpoint cmd timeout"

7 years agoMerge "ipv4/GRO: Make GRO conform to RFC 6864"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:39 +0000 (13:52 -0700)]
Merge "ipv4/GRO: Make GRO conform to RFC 6864"

7 years agoMerge "ext4 crypto: simplify interfaces to directory entry insert functions"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:39 +0000 (13:52 -0700)]
Merge "ext4 crypto: simplify interfaces to directory entry insert functions"

7 years agoMerge "msm: mdss: Initialize pp_sts variable before use"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:38 +0000 (13:52 -0700)]
Merge "msm: mdss: Initialize pp_sts variable before use"

7 years agoMerge "qcom-charger: introduce step charging"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:37 +0000 (13:52 -0700)]
Merge "qcom-charger: introduce step charging"

7 years agoMerge "msm: ipa3: fix GSI ring DMA allocation parameters"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:37 +0000 (13:52 -0700)]
Merge "msm: ipa3: fix GSI ring DMA allocation parameters"

7 years agoMerge "clk: msm: Add support for block reset clocks for msmcobalt"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:36 +0000 (13:52 -0700)]
Merge "clk: msm: Add support for block reset clocks for msmcobalt"

7 years agoMerge "ARM: dts: msm: change ebi buswidth for msmhamster"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:35 +0000 (13:52 -0700)]
Merge "ARM: dts: msm: change ebi buswidth for msmhamster"

7 years agoMerge "nf: xt_qtaguid: fix handling for cases where tunnels are used."
Linux Build Service Account [Fri, 2 Sep 2016 20:52:34 +0000 (13:52 -0700)]
Merge "nf: xt_qtaguid: fix handling for cases where tunnels are used."

7 years agoMerge "msm: sde: Fix SMMU fault in SDE rotator for secure playback"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:33 +0000 (13:52 -0700)]
Merge "msm: sde: Fix SMMU fault in SDE rotator for secure playback"

7 years agoMerge "ARM: dts: msm: add 2 lane support for msmcobalt ufs phy"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:33 +0000 (13:52 -0700)]
Merge "ARM: dts: msm: add 2 lane support for msmcobalt ufs phy"

7 years agoMerge "qseecom: improve listener resp processing if app is blocked"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:32 +0000 (13:52 -0700)]
Merge "qseecom: improve listener resp processing if app is blocked"

7 years agoMerge "msm: sde: Fix SDE rotator driver error handling"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:31 +0000 (13:52 -0700)]
Merge "msm: sde: Fix SDE rotator driver error handling"

7 years agoMerge "msm: ipa: fix potential race condition ioctls"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:31 +0000 (13:52 -0700)]
Merge "msm: ipa: fix potential race condition ioctls"

7 years agoMerge "cnss: Reset QCA Card during WLAN SubSystem Recovery"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:29 +0000 (13:52 -0700)]
Merge "cnss: Reset QCA Card during WLAN SubSystem Recovery"

7 years agoMerge "scsi: ufs: Initiate crypto before SCSI for UFS fast boot"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:29 +0000 (13:52 -0700)]
Merge "scsi: ufs: Initiate crypto before SCSI for UFS fast boot"

7 years agoMerge "cfg80211: Add option to specify previous BSSID for Connect command"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:27 +0000 (13:52 -0700)]
Merge "cfg80211: Add option to specify previous BSSID for Connect command"

7 years agoMerge "cfg80211: Define macro to indicate prev_bssid connect support"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:26 +0000 (13:52 -0700)]
Merge "cfg80211: Define macro to indicate prev_bssid connect support"

7 years agoMerge "soc: qcom: glink: Validate ctx before using"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:25 +0000 (13:52 -0700)]
Merge "soc: qcom: glink: Validate ctx before using"

7 years agoMerge "mutex: Add a delay into the SPIN_ON_OWNER wait loop."
Linux Build Service Account [Fri, 2 Sep 2016 20:52:25 +0000 (13:52 -0700)]
Merge "mutex: Add a delay into the SPIN_ON_OWNER wait loop."

7 years agoMerge "net: ipc_router: Fix remote port conn_info memory leak"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:24 +0000 (13:52 -0700)]
Merge "net: ipc_router: Fix remote port conn_info memory leak"

7 years agoMerge "host: sdhci-msm: implement get_current_limit() host op"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:23 +0000 (13:52 -0700)]
Merge "host: sdhci-msm: implement get_current_limit() host op"

7 years agoMerge "diag: Add error handler to free buffers when fwd fails"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:23 +0000 (13:52 -0700)]
Merge "diag: Add error handler to free buffers when fwd fails"

7 years agoMerge "icnss: Shutdown only if probed"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:21 +0000 (13:52 -0700)]
Merge "icnss: Shutdown only if probed"

7 years agoMerge "icnss: Fix NULL pointer dererference"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:20 +0000 (13:52 -0700)]
Merge "icnss: Fix NULL pointer dererference"

7 years agoMerge "defconfig: msmcortex: enable QCOM_TADC driver"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:19 +0000 (13:52 -0700)]
Merge "defconfig: msmcortex: enable QCOM_TADC driver"

7 years agoMerge "defconfig: msm: enable common log for msmcobalt"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:18 +0000 (13:52 -0700)]
Merge "defconfig: msm: enable common log for msmcobalt"

7 years agoMerge "msm: camera: secure camera support"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:17 +0000 (13:52 -0700)]
Merge "msm: camera: secure camera support"

7 years agoMerge "msm: camera: isp: Use single stream for dual vfe"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:15 +0000 (13:52 -0700)]
Merge "msm: camera: isp: Use single stream for dual vfe"

7 years agoMerge "coresight-stm: let runtime PM handle core clock"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:15 +0000 (13:52 -0700)]
Merge "coresight-stm: let runtime PM handle core clock"

7 years agoMerge "msm: sensor: Add support for querying flash max current"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:14 +0000 (13:52 -0700)]
Merge "msm: sensor: Add support for querying flash max current"

7 years agoMerge "msm: mdss: increase mdp hw recovery timeout"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:13 +0000 (13:52 -0700)]
Merge "msm: mdss: increase mdp hw recovery timeout"

7 years agoMerge "ARM: dts: msm: change the CX handle in PCIe node on msmcobalt"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:13 +0000 (13:52 -0700)]
Merge "ARM: dts: msm: change the CX handle in PCIe node on msmcobalt"

7 years agoMerge "msm: pcie: config core and peripheral memory for PCIe clocks"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:12 +0000 (13:52 -0700)]
Merge "msm: pcie: config core and peripheral memory for PCIe clocks"

7 years agoMerge "msm: pcie: correct size of local PCIe clock frequency buffer"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:11 +0000 (13:52 -0700)]
Merge "msm: pcie: correct size of local PCIe clock frequency buffer"

7 years agoMerge "USB: f_accessory: Fix crash if driver failed to initialize"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:09 +0000 (13:52 -0700)]
Merge "USB: f_accessory: Fix crash if driver failed to initialize"

7 years agoMerge "USB: f_accessory: set manufacturer and model string to default value"
Linux Build Service Account [Fri, 2 Sep 2016 20:52:09 +0000 (13:52 -0700)]
Merge "USB: f_accessory: set manufacturer and model string to default value"

7 years agoicnss: Fix NULL pointer dererference
Prashanth Bhatta [Thu, 1 Sep 2016 16:07:33 +0000 (09:07 -0700)]
icnss: Fix NULL pointer dererference

With commit a3a3c169dd0d ("icnss: Prevent power collapse during
driver probe/remove"), NULL pointer dereference happens in probe
because of recent changes in the function. Fix the issue by using
right pointer.

CRs-Fixed: 1061279
Change-Id: I464579953fabe1bd42ced50f0bbfdfd3cda0a492
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agoPM / devfreq: bw_hwmon: Add HW offload support to governor
Saravana Kannan [Thu, 31 Mar 2016 00:47:58 +0000 (17:47 -0700)]
PM / devfreq: bw_hwmon: Add HW offload support to governor

Some HW monitors can do a better job of the sampling and the threshold
checking than the SW implementation in the governor.  Update the governor's
API to add support for them.

Change-Id: Id4b5593a5ed3290684ba43ebebe2466ba0b730b6
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
7 years agomsm: vidc: Enhance debug capabilities of video driver
Praneeth Paladugu [Tue, 23 Aug 2016 06:40:57 +0000 (23:40 -0700)]
msm: vidc: Enhance debug capabilities of video driver

When Venus HW is not responding, before crashing the system,
print all the pending messages, current sessions and each
session info.

CRs-Fixed: 1059604
Change-Id: I8d39eaaa425e5e6fa97704c9bc15414f9a0f61ce
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
7 years agoslim-msm: Differentiate SSR from Noise during power up
Dilip Kota [Thu, 28 Jul 2016 14:27:32 +0000 (19:57 +0530)]
slim-msm: Differentiate SSR from Noise during power up

During power up operation check whether power up
failure is due to SSR or noise over slimbus.
If power up failure is due to SSR prevent retry
operation.
This change also do allocate DMA memory for slimbus
bulk trasactions. Memory should be DMA for slimbus
transactions as using non-DMA memory will end up
in creating bounce buffers and affect the performance.

Change-Id: Iaca520d92c4ee2d73f8e751699779e6cfc9ddb87
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
7 years agoclk: msm: Select appropriate clock flags for 32-bit
Srinivas Ramana [Fri, 22 Jul 2016 09:46:24 +0000 (15:16 +0530)]
clk: msm: Select appropriate clock flags for 32-bit

1. Select COMMON_CLK_MSM for msmfalcon when building
for 32-bit.
2. Select RATIONAL when COMMON_CLK_MSM is selected as
it's using an api from rational library.

Change-Id: I5b8fa962718a5ae44dfd18a13285715580ee0dbc
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agommc: host: Add check for post tuning in HS400
Sayali Lokhande [Thu, 21 Jul 2016 12:58:43 +0000 (05:58 -0700)]
mmc: host: Add check for post tuning in HS400

'commit 34e4cf13f729 ("mmc: core: Update HS400 timing
mode before performing tuning")' updates timing mode
to HS400 before tuning in mmc_hs200_tuning.
On 4.4 kernel, there is check added to bail out from
execute_tuning if HS400 tuning is done in HS200 mode.

Adding check to avoid bailing out and allow
execute_tuning if POST_TUNING capability is set.

Change-Id: I259da28050e5da0c96251cb99176386927b596f0
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agoARM: dts: msm: Update debug uart support for msmfalcon
Venkatesh Yadav Abbarapu [Tue, 9 Aug 2016 05:45:49 +0000 (11:15 +0530)]
ARM: dts: msm: Update debug uart support for msmfalcon

As per the new schematic the debug uart is on BLSP1UART1
instead of BLSP2UART1.

Change-Id: I08b3ffa1a027b3212b77fe661348f2852485ed0d
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agoASoC: wcd934x: Fix register default for MAD buffer interval
Bhalchandra Gajare [Mon, 22 Aug 2016 21:58:54 +0000 (14:58 -0700)]
ASoC: wcd934x: Fix register default for MAD buffer interval

Current register default setting for MAD buffer interval is incorrect
and hence microphone activity detection is not functional. Update the
default value of the MAD buffer interval to 10msec.

CRs-Fixed: 1049012
Change-Id: I1dcdcb566f096bbddad286dc71c5bf980303e4c3
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
7 years agomsm: qdsp6v2: update CVD version
Siena Richard [Wed, 31 Aug 2016 01:06:44 +0000 (18:06 -0700)]
msm: qdsp6v2: update CVD version

CVD version is updated to 2.3 on ADSP. Update the mapping
table in voice driver to allow CVD version 2.3 to be
recognized and used.

Change-Id: Id6d1c960dc720e8013eb9ba1f07af7662b576e37
CRs-Fixed: 1060201
Signed-off-by: Siena Richard <sienar@codeaurora.org>
7 years agoicnss: Shutdown only if probed
Prashanth Bhatta [Wed, 31 Aug 2016 19:45:58 +0000 (12:45 -0700)]
icnss: Shutdown only if probed

With the recovery changes, if modem is brought down without FW
ready but WLAN driver is registered then shutdown call back is
called. This causes stability issue.
Make sure not call the shutdown call back if driver is not
registered. Also listening for PD notifications are enough even
for Subsystem restart so changing the quirks to take care of it.

CRs-fixed: 1061734
Change-Id: Ic5d1a38dfb6ea3e255424af135e2afbe47d1fc18
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agoqcom-charger: smb138x: update FCC settings in smb_params table
Harry Yang [Tue, 30 Aug 2016 18:30:47 +0000 (11:30 -0700)]
qcom-charger: smb138x: update FCC settings in smb_params table

Fix fcc max and step values per HW specification.

CRs-Fixed: 1060633
Change-Id: Ie4ff10977840d8210482ad6f7bba4f0f0160aa03
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqcom-charger: smb2: configure stat pin for parallel charging
Harry Yang [Mon, 29 Aug 2016 18:46:43 +0000 (11:46 -0700)]
qcom-charger: smb2: configure stat pin for parallel charging

Currently the PMI stat pin is configured to output IRQ and SW
override status. Parallel charging requires the stat pin for
parallel enable status and under the control of HW, and hence
the change.

CRs-Fixed: 1060633
Change-Id: Ie93f874b90b5aed0a66e97186e4f1d69a1275c8b
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agosoc: qcom: rpm-smd: wait till all active set acks are cleared
Maulik Shah [Tue, 10 May 2016 11:55:11 +0000 (17:25 +0530)]
soc: qcom: rpm-smd: wait till all active set acks are cleared

Wait till all pending acks are receivied for active set messages
before lpm driver choose to enter rpm assisted pc.

Change-Id: Ifefb9f3ae88d890e64e7e123e0fcedc00aea719c
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
7 years agoASoC: wcd934x: Update codec master clock configuration
Phani Kumar Uppalapati [Tue, 30 Aug 2016 23:55:41 +0000 (16:55 -0700)]
ASoC: wcd934x: Update codec master clock configuration

Update wcd934x codec master clock configuration to
9.6MHz or 12.288MHz based on the device tree setting.
This is done during early codec initialization to prevent
artifacts when audio path is enabled.

CRs-fixed: 1061430
Change-Id: Ic983a524b6fa5bb079c6e61b8fe729974de78eea
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
7 years agoinput: ft5x06_ts: add sysfs to access touch module info
Mao Li [Thu, 17 Sep 2015 08:29:57 +0000 (16:29 +0800)]
input: ft5x06_ts: add sysfs to access touch module info

Add sysfs under sys/kernel/ts_info to access touch vendor name,
model number, firmware version.

Change-Id: I531c7fa7db2b7140e5b9c7bb31831d221c734e3e
Signed-off-by: Mao Li <maol@codeaurora.org>
7 years agoinput: ft5x06_ts: remove proximity sensor support
Sudhakar Manapati [Sat, 12 Sep 2015 14:35:50 +0000 (20:05 +0530)]
input: ft5x06_ts: remove proximity sensor support

remove psensor support as the linux/sensors.h file is not yet merged
in msm-3.18 kernel.

Change-Id: I6d46b35938b7420072f9245ffa27bb59f28d5e03
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
7 years agoinput: sensors: change sensors classdev device's parent to input devices
Sudhakar Manapati [Thu, 13 Aug 2015 16:38:56 +0000 (22:08 +0530)]
input: sensors: change sensors classdev device's parent to input devices

Sensor HAL takes long time to scan /dev/input to get information
from input subsystem. Change sensors sysfs hierarchy to avoid
the scanning to reduce sensor HAL initialization time.

Change-Id: Ifcd560dacdba2600f2ae5d40a5c3e639ea291274
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
7 years agoinput: ft5x06_ts: correct the status of the pocket mode
Mao Li [Wed, 24 Dec 2014 02:26:06 +0000 (21:26 -0500)]
input: ft5x06_ts: correct the status of the pocket mode

Do not need to call function to enter pocket mode if the touch
panel is already in pocket mode as well as no need to call function
to leave pocket mode if it is not in pocket mode.

Change-Id: Ic26376bebeba8e7f0dd37ef3bfbbed36c621604b
Signed-off-by: Mao Li <maol@codeaurora.org>
7 years agoinput: ft5x06_ts: fix compiling error in FT CTP driver
Mao Li [Fri, 19 Dec 2014 02:35:03 +0000 (21:35 -0500)]
input: ft5x06_ts: fix compiling error in FT CTP driver

Change dev_debug to dev_dbg to fix compiling error
if CONFIG_TOUCHSCREEN_FT5X06_PSENSOR is enabled.

Change-Id: Ic228ac8b6dec0bc3e1aaff890dc5b1b7c024bdfc
Signed-off-by: Mao Li <maol@codeaurora.org>
7 years agoinput: ft5x06_ts: do not free input_dev after unregister it
Mao Li [Mon, 15 Dec 2014 08:39:50 +0000 (03:39 -0500)]
input: ft5x06_ts: do not free input_dev after unregister it

Once the input device is successfully registered via
input_register_device(), it has to be unregistered via
input_unregister_device(); input_free_device()
should not be called in this case. input_unregister_device()
frees the input device, hence the call to input_free_device()
is a double free. This is also described in comments of
input_unregister_device().

Reorganize the code to avoid a double free.

Change-Id: I7abee3f1ad6c73e1c38aa64e627ffd73f6f9d3b2
Signed-off-by: Mao Li <maol@codeaurora.org>