OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
8 years agousb: gadget: f_cdev: Fix NULL ptr dereference in usb_cser_notify
Hemant Kumar [Thu, 28 Jul 2016 19:00:36 +0000 (12:00 -0700)]
usb: gadget: f_cdev: Fix NULL ptr dereference in usb_cser_notify

Upon usb disconnect or composition switch notify ep request buffer
as well as the request are freed. This is racing with user space
ioctl on character device trying to send the notification to USB
host. As a result notify ep request buffer is being dereferenced
causing NULL pointer dereference. Fix the issue by checking
is_connected flag by taking port lock before accessing notify
ep request and request buffer.

Change-Id: I380efdf90305a65d4cde46dfe44762ac11c87678
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
8 years agoMerge "thermal: tsens: Remove registering for Critical trip zone"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:17 +0000 (19:27 -0700)]
Merge "thermal: tsens: Remove registering for Critical trip zone"

8 years agoMerge "defconfig: msmcortex: Enable FG_GEN3 driver"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:16 +0000 (19:27 -0700)]
Merge "defconfig: msmcortex: Enable FG_GEN3 driver"

8 years agoMerge "defconfig: arm64: msm: enable CP15 barrier and SETEND simulation"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:15 +0000 (19:27 -0700)]
Merge "defconfig: arm64: msm: enable CP15 barrier and SETEND simulation"

8 years agoMerge "msm: ipa3: add support for SMMU to USB"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:13 +0000 (19:27 -0700)]
Merge "msm: ipa3: add support for SMMU to USB"

8 years agoMerge "usb: f_gsi: Update connection parameters for GSI channels"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:12 +0000 (19:27 -0700)]
Merge "usb: f_gsi: Update connection parameters for GSI channels"

8 years agoMerge "ASoC: wcd_cpe: Add support for two CPE sessions"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:10 +0000 (19:27 -0700)]
Merge "ASoC: wcd_cpe: Add support for two CPE sessions"

8 years agoMerge "slim-msm: Synchronize SSR callbacks"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:08 +0000 (19:27 -0700)]
Merge "slim-msm: Synchronize SSR callbacks"

8 years agoMerge "msm: kgsl: Map GPU QDSS STM through GPU IOMMU"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:07 +0000 (19:27 -0700)]
Merge "msm: kgsl: Map GPU QDSS STM through GPU IOMMU"

8 years agoMerge "defconfig: Enable IOMMU debugfs in perf-defconfig"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:06 +0000 (19:27 -0700)]
Merge "defconfig: Enable IOMMU debugfs in perf-defconfig"

8 years agoMerge "msm: mdss: Update LM parameters during dest scaler transition"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:05 +0000 (19:27 -0700)]
Merge "msm: mdss: Update LM parameters during dest scaler transition"

8 years agoMerge "thermal: qpnp-adc-tm: Update reverse threshold and notification"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:04 +0000 (19:27 -0700)]
Merge "thermal: qpnp-adc-tm: Update reverse threshold and notification"

8 years agoMerge "crypto: msm: enable hw crypto driver for msmfalcon"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:03 +0000 (19:27 -0700)]
Merge "crypto: msm: enable hw crypto driver for msmfalcon"

8 years agoMerge "soc: qcom: build kryo perf events only for MSM8996"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:02 +0000 (19:27 -0700)]
Merge "soc: qcom: build kryo perf events only for MSM8996"

8 years agoMerge "input: ft5x06_ts: Add driver for ft5x06 series"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:01 +0000 (19:27 -0700)]
Merge "input: ft5x06_ts: Add driver for ft5x06 series"

8 years agoMerge "ASoC: Fix freed memory access of pcm stream kctl"
Linux Build Service Account [Thu, 28 Jul 2016 02:27:00 +0000 (19:27 -0700)]
Merge "ASoC: Fix freed memory access of pcm stream kctl"

8 years agoMerge "clk: msm: clock: Remove support for the USB cfg_ahb2phy clock from HLOS"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:58 +0000 (19:26 -0700)]
Merge "clk: msm: clock: Remove support for the USB cfg_ahb2phy clock from HLOS"

8 years agoMerge "usb: phy: Make cfg_ahb_clk optional"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:57 +0000 (19:26 -0700)]
Merge "usb: phy: Make cfg_ahb_clk optional"

8 years agoMerge "msm: thermal: Update the hotplug initialization"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:56 +0000 (19:26 -0700)]
Merge "msm: thermal: Update the hotplug initialization"

8 years agoMerge "ASoC: msm: qdsp6v2: Add size check in audio cal ioctl"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:54 +0000 (19:26 -0700)]
Merge "ASoC: msm: qdsp6v2: Add size check in audio cal ioctl"

8 years agoMerge "clk: qcom: Porting display clocks from msm folder to qcom folder"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:54 +0000 (19:26 -0700)]
Merge "clk: qcom: Porting display clocks from msm folder to qcom folder"

8 years agoMerge "ARM: dts: msm: Add the timeout property to BIMC SMMU GDSC on MSMCOBALT"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:52 +0000 (19:26 -0700)]
Merge "ARM: dts: msm: Add the timeout property to BIMC SMMU GDSC on MSMCOBALT"

8 years agoMerge "sound: usb: Enable autosuspend for usb audio device"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:51 +0000 (19:26 -0700)]
Merge "sound: usb: Enable autosuspend for usb audio device"

8 years agoMerge "msm: jpegdma: set minimum acceptable dimension as 8x8"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:48 +0000 (19:26 -0700)]
Merge "msm: jpegdma: set minimum acceptable dimension as 8x8"

8 years agoMerge "soc: qcom: Make service locator call asynchronous"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:47 +0000 (19:26 -0700)]
Merge "soc: qcom: Make service locator call asynchronous"

8 years agoMerge "crypto: msm: crypto driver performance improvement"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:47 +0000 (19:26 -0700)]
Merge "crypto: msm: crypto driver performance improvement"

8 years agoMerge "msm: mdss: Fix mixer extension offset"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:46 +0000 (19:26 -0700)]
Merge "msm: mdss: Fix mixer extension offset"

8 years agoMerge "msm: ipa3: fix packet handling for multiple buffers"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:45 +0000 (19:26 -0700)]
Merge "msm: ipa3: fix packet handling for multiple buffers"

8 years agoMerge "clk: msm: clock: Allow removing clock voltage votes during sleep"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:44 +0000 (19:26 -0700)]
Merge "clk: msm: clock: Allow removing clock voltage votes during sleep"

8 years agoMerge "usb: dwc3: Fix NULL ptr dereference in ep disable ops"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:43 +0000 (19:26 -0700)]
Merge "usb: dwc3: Fix NULL ptr dereference in ep disable ops"

8 years agoMerge "clk: msm: hdmi: fix value of constant for minimum VCO rate"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:42 +0000 (19:26 -0700)]
Merge "clk: msm: hdmi: fix value of constant for minimum VCO rate"

8 years agoMerge "msm: mdss: Update backlight filter for AD"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:42 +0000 (19:26 -0700)]
Merge "msm: mdss: Update backlight filter for AD"

8 years agoMerge "coresight-etm4x: avoid reading trace-id from ETM hardware block"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:41 +0000 (19:26 -0700)]
Merge "coresight-etm4x: avoid reading trace-id from ETM hardware block"

8 years agoMerge "smb-lib: account for Jeita while distributing FCC"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:39 +0000 (19:26 -0700)]
Merge "smb-lib: account for Jeita while distributing FCC"

8 years agoMerge "ARM: dts: msm: Update QUSB PHY device node compatible property on msmcobalt"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:37 +0000 (19:26 -0700)]
Merge "ARM: dts: msm: Update QUSB PHY device node compatible property on msmcobalt"

8 years agoMerge "msm: jpegdma: Remove even number check for crop left and top"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:35 +0000 (19:26 -0700)]
Merge "msm: jpegdma: Remove even number check for crop left and top"

8 years agoMerge "netfilter: xt_qtaguid: seq_printf fixes"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:33 +0000 (19:26 -0700)]
Merge "netfilter: xt_qtaguid: seq_printf fixes"

8 years agoMerge "Revert "net: activity_stats: Stop using obsolete create_proc_read_entry api""
Linux Build Service Account [Thu, 28 Jul 2016 02:26:32 +0000 (19:26 -0700)]
Merge "Revert "net: activity_stats: Stop using obsolete create_proc_read_entry api""

8 years agoMerge "Revert "misc: uidstat: avoid create_stat() race and blockage.""
Linux Build Service Account [Thu, 28 Jul 2016 02:26:32 +0000 (19:26 -0700)]
Merge "Revert "misc: uidstat: avoid create_stat() race and blockage.""

8 years agoMerge "Revert "misc: uidstat: Remove use of obsolete create_proc_read_entry api""
Linux Build Service Account [Thu, 28 Jul 2016 02:26:31 +0000 (19:26 -0700)]
Merge "Revert "misc: uidstat: Remove use of obsolete create_proc_read_entry api""

8 years agoMerge "defconfig: um: Disable activity stats"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:31 +0000 (19:26 -0700)]
Merge "defconfig: um: Disable activity stats"

8 years agoMerge "msm: ipa: do not use delay in SSR"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:30 +0000 (19:26 -0700)]
Merge "msm: ipa: do not use delay in SSR"

8 years agoMerge "qcom-charger: smb-lib: fix secure register writes"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:29 +0000 (19:26 -0700)]
Merge "qcom-charger: smb-lib: fix secure register writes"

8 years agoMerge "ARM: dts: msm: set default mem_type for ETR device on msmcobalt"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:27 +0000 (19:26 -0700)]
Merge "ARM: dts: msm: set default mem_type for ETR device on msmcobalt"

8 years agoMerge "coresight-tmc: add support to set default mem_type"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:27 +0000 (19:26 -0700)]
Merge "coresight-tmc: add support to set default mem_type"

8 years agoMerge "msm: camera: isp: Add isp version"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:26 +0000 (19:26 -0700)]
Merge "msm: camera: isp: Add isp version"

8 years agoMerge "qcom-charger: qpnp-smb2: update battery charging status on input suspend"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:25 +0000 (19:26 -0700)]
Merge "qcom-charger: qpnp-smb2: update battery charging status on input suspend"

8 years agoMerge "ARM: dts: msm: Revert add HDMI support for 8996 mtp"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:22 +0000 (19:26 -0700)]
Merge "ARM: dts: msm: Revert add HDMI support for 8996 mtp"

8 years agodefconfig: msmcortex: Enable FG_GEN3 driver
Subbaraman Narayanamurthy [Mon, 13 Jun 2016 18:31:55 +0000 (11:31 -0700)]
defconfig: msmcortex: Enable FG_GEN3 driver

FG_GEN3 driver supports the new FG GEN3 peripheral in pmicobalt.
Enable the support for it.

Change-Id: I0f1408099b0736ac510987c3a17ab798d84fbdff
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
8 years agopower: qcom-charger: fix possible out of bounds access for GEN3 FG driver
Subbaraman Narayanamurthy [Wed, 27 Jul 2016 17:41:47 +0000 (10:41 -0700)]
power: qcom-charger: fix possible out of bounds access for GEN3 FG driver

Fix the following things in fg-util.c which is included by GEN3
FG driver:

- Possible out of bounds access in fg_sram_dfs_reg_write() when
  using bytes_read from sscanf
- Fix uninitialized usage of variable in write_next_line_to_log()

Change-Id: If9e7ba5632d1b5f99d91bda6276d9123c37e4dc7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
8 years agothermal: tsens: Remove registering for Critical trip zone
Siddartha Mohanadoss [Wed, 27 Jul 2016 18:15:20 +0000 (11:15 -0700)]
thermal: tsens: Remove registering for Critical trip zone

The handle_critical_trips() api in thermal_core gets
invoked during the system resume path on 4.4 kernel.
If a thermal driver has registered for the critical trip
zone the handle_critical_trips() reads the current temperature
and checks against the critical threshold. If the
temperature value is greater than the critical threshold
the device is shutdown.

Remove registering the critical trip zone since its not
used by thermal sys clients. The driver will continue
to use it internally to set thresholds and monitor
the state of the TSENS (temperature sensor) controller.

Change-Id: Ie2024498224f078de77dd006d77cdfa99bb90eee
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
8 years agoslim-msm: Synchronize SSR callbacks
Dilip Kota [Mon, 21 Mar 2016 05:58:51 +0000 (11:28 +0530)]
slim-msm: Synchronize SSR callbacks

Subsystem will restart within short timeframe.
Synchronise subsytem up/down callback notifications
to avoid functionality failures.
Use mutex locks to achieve synchronization.

Change-Id: I5881c7d468507bb8402a2e9f8178b9c31e57e8a5
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
8 years agoslim-msm-ngd:Avoid using stale pipe handle
Dilip Kota [Wed, 30 Mar 2016 07:52:20 +0000 (13:22 +0530)]
slim-msm-ngd:Avoid using stale pipe handle

Make sure to use pipe handle from the TX
endpoint rather than using a stored handle.
The stored handle may become invalid if SSR
happens between storing of that handle
and locking the mutex.

Change-Id: I53e8f860c2d50061b6c4e6ce2f944c1e2ed8dff2
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
8 years agoMerge "input: it7258_ts_i2c: clean up the it7258_ts_i2c driver"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:38 +0000 (06:32 -0700)]
Merge "input: it7258_ts_i2c: clean up the it7258_ts_i2c driver"

8 years agoMerge "msm: vidc: Fix limit for LTR mode control"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:38 +0000 (06:32 -0700)]
Merge "msm: vidc: Fix limit for LTR mode control"

8 years agoMerge "msm: vidc: add h264 8x8 transform mode support"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:37 +0000 (06:32 -0700)]
Merge "msm: vidc: add h264 8x8 transform mode support"

8 years agoMerge "icnss: Update event workqueue flags"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:36 +0000 (06:32 -0700)]
Merge "icnss: Update event workqueue flags"

8 years agoMerge "ARM: dts: msm: add FG GEN3 device on pmicobalt"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:35 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: add FG GEN3 device on pmicobalt"

8 years agoMerge "msm: ipa3: changes to IPA USB APIs to support SMMU"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:34 +0000 (06:32 -0700)]
Merge "msm: ipa3: changes to IPA USB APIs to support SMMU"

8 years agoMerge "icnss: Add state check before calling wlan suspend/resume"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:33 +0000 (06:32 -0700)]
Merge "icnss: Add state check before calling wlan suspend/resume"

8 years agoMerge "ARM: dts: msm: Add IPC Router devices for MSMFALCON"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:31 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: Add IPC Router devices for MSMFALCON"

8 years agoMerge "ARM: dts: msm: Add glink_pkt devices for MSMFALCON"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:31 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: Add glink_pkt devices for MSMFALCON"

8 years agoMerge "ARM: dts: msm: add pinctrl settings for DP GPIOs for msmcobalt"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:27 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: add pinctrl settings for DP GPIOs for msmcobalt"

8 years agoMerge "net: Revert upstream changes which break routing in tunnel scenarios"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:26 +0000 (06:32 -0700)]
Merge "net: Revert upstream changes which break routing in tunnel scenarios"

8 years agoMerge "iommu/iommu-debug: Make debug driver 32 bit compatible"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:22 +0000 (06:32 -0700)]
Merge "iommu/iommu-debug: Make debug driver 32 bit compatible"

8 years agoMerge "usb: pd: Don't notify EXTCON_USB unless type is SDP or CDP"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:21 +0000 (06:32 -0700)]
Merge "usb: pd: Don't notify EXTCON_USB unless type is SDP or CDP"

8 years agoMerge "defconfig: arm64: msm: Enable ESP transformation"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:21 +0000 (06:32 -0700)]
Merge "defconfig: arm64: msm: Enable ESP transformation"

8 years agocrypto: msm: enable hw crypto driver for msmfalcon
Srinivas Ramana [Tue, 12 Jul 2016 11:38:21 +0000 (17:08 +0530)]
crypto: msm: enable hw crypto driver for msmfalcon

Update Kconfig to enable qcom hw crypto driver for msmfalcon.

Change-Id: I0a4ea56d48d5133083975365228b3ea2dcc2f539
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
8 years agosoc: qcom: build kryo perf events only for MSM8996
Srinivas Ramana [Tue, 12 Jul 2016 10:20:39 +0000 (15:50 +0530)]
soc: qcom: build kryo perf events only for MSM8996

kryo perf events are specific to MSM8996 soc. So build
this file only when MSM8996 is enabled.

Change-Id: I95aacab201d51ffb4eb8e94d2e400578cab37fc8
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
8 years agoMerge "ASoC: open ASM session with 24 bit for 24 bit playback"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:43 +0000 (23:34 -0700)]
Merge "ASoC: open ASM session with 24 bit for 24 bit playback"

8 years agoMerge "scsi: ufs: Crash the system on unrecoverable state"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:42 +0000 (23:34 -0700)]
Merge "scsi: ufs: Crash the system on unrecoverable state"

8 years agoMerge "msm: cpp: Query buffer from buffer manager based on index"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:41 +0000 (23:34 -0700)]
Merge "msm: cpp: Query buffer from buffer manager based on index"

8 years agoMerge "usb: pd: Add vendor defined message handling"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:41 +0000 (23:34 -0700)]
Merge "usb: pd: Add vendor defined message handling"

8 years agoMerge "ARM: dts: msm: add default trace sink for MSMCOBALT"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:40 +0000 (23:34 -0700)]
Merge "ARM: dts: msm: add default trace sink for MSMCOBALT"

8 years agoMerge "input: touchpanel: Add GT9xx touchpanel driver for skuf"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:38 +0000 (23:34 -0700)]
Merge "input: touchpanel: Add GT9xx touchpanel driver for skuf"

8 years agoMerge "input: touchscreen: Add synaptics v1 driver"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:37 +0000 (23:34 -0700)]
Merge "input: touchscreen: Add synaptics v1 driver"

8 years agoMerge "soc: qcom: build kryo-l2-accessors only for msm8996"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:36 +0000 (23:34 -0700)]
Merge "soc: qcom: build kryo-l2-accessors only for msm8996"

8 years agoMerge "clk: msm8996: compile 8996 clock files only for ARCH_MSM8996"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:36 +0000 (23:34 -0700)]
Merge "clk: msm8996: compile 8996 clock files only for ARCH_MSM8996"

8 years agoMerge "input: touchpanel: Add Mstar msg21xx touchpanel driver"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:35 +0000 (23:34 -0700)]
Merge "input: touchpanel: Add Mstar msg21xx touchpanel driver"

8 years agoMerge "usb: xhci-plat: Add XHCI_STATE_REMOVING flag on removal of usb device"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:34 +0000 (23:34 -0700)]
Merge "usb: xhci-plat: Add XHCI_STATE_REMOVING flag on removal of usb device"

8 years agoMerge "xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:33 +0000 (23:34 -0700)]
Merge "xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers"

8 years agoMerge "ASoc: msm: fix out of bounds array access"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:32 +0000 (23:34 -0700)]
Merge "ASoc: msm: fix out of bounds array access"

8 years agoMerge "ASoC: msm: qdsp6v2: DAP: Update check to validate data length"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:31 +0000 (23:34 -0700)]
Merge "ASoC: msm: qdsp6v2: DAP: Update check to validate data length"

8 years agoMerge "qcom-charger: smb2: configure input from wipower"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:31 +0000 (23:34 -0700)]
Merge "qcom-charger: smb2: configure input from wipower"

8 years agoMerge "msm: Camera buffer overflow fix"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:30 +0000 (23:34 -0700)]
Merge "msm: Camera buffer overflow fix"

8 years agoMerge "iommu/arm-smmu: Print device name in context fault handler"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:29 +0000 (23:34 -0700)]
Merge "iommu/arm-smmu: Print device name in context fault handler"

8 years agoMerge "sound: usb: Update USB audio QMI data structure"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:28 +0000 (23:34 -0700)]
Merge "sound: usb: Update USB audio QMI data structure"

8 years agoASoC: wcd_cpe: Add support for two CPE sessions
Sudheer Papothi [Tue, 3 May 2016 02:27:40 +0000 (07:57 +0530)]
ASoC: wcd_cpe: Add support for two CPE sessions

Existing CPE(Codec Processing Engine) driver supports single session.
Add support for two sessions with different sampling rates.

CRs-fixed: 1022917
Change-Id: Ifbcb1bf8c418a4b3c787f68392aa141207dddde5
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
8 years agoARM: msm: dts: Changes to add second CPE session for 8996
Sudheer Papothi [Tue, 3 May 2016 00:19:40 +0000 (05:49 +0530)]
ARM: msm: dts: Changes to add second CPE session for 8996

Add additional platform dai for CPE(Codec Processing Engine)
to handle two CPE sessions simultaneously. Change adds another
instance of platform driver.

CRs-fixed: 1022917
Change-Id: If06c3e3ac1cb5fc04367507c8d55787214cf252f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
8 years agoclk: msm: clock: Remove support for the USB cfg_ahb2phy clock from HLOS
Deepak Katragadda [Mon, 25 Jul 2016 17:29:30 +0000 (10:29 -0700)]
clk: msm: clock: Remove support for the USB cfg_ahb2phy clock from HLOS

The gcc_usb_phy_cfg_ahb2phy_clk clock will be managed by RPM.
There is no need to model it in the linux clock driver or to
control it from the USB driver.

Change-Id: I05641c2d532ada36623da1e1cc687c90bc4ee906
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
8 years agousb: phy: Make cfg_ahb_clk optional
Hemant Kumar [Tue, 19 Jul 2016 23:41:59 +0000 (16:41 -0700)]
usb: phy: Make cfg_ahb_clk optional

USB qusb2 and ssusb qmp phy drivers are not required to
manage gcc_usb_phy_cfg_ahb2phy_clk clock. It will stay
always ON except when in XO-shutdown. RPM will manage
this clock.

Change-Id: I92647d8ba53bb498b1048ea920a25c04441f6e10
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
8 years agousb: dwc3: Make cfg_ahb_clk optional
Hemant Kumar [Tue, 19 Jul 2016 22:25:14 +0000 (15:25 -0700)]
usb: dwc3: Make cfg_ahb_clk optional

dwc3 USB driver is not required to not manage gcc_usb_phy_cfg_ahb2phy_clk
clock. It will stay always ON except when in XO-shutdown. RPM will
manage this clock.

Change-Id: Icc33e63a52b3c5ce83ef2fc56d68eae20278cac0
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
8 years agomsm: cpp: Query buffer from buffer manager based on index
Krishnankutty Kolathappilly [Tue, 3 May 2016 06:46:14 +0000 (23:46 -0700)]
msm: cpp: Query buffer from buffer manager based on index

Query buffer from buffer manager based on buf index.
This allows modules to provide a buffer associated
with a particular request and avoids a wrong buffer
from being returned.

CRs-Fixed: 1018651
Change-Id: I206f3fa334d96e9f57fcbd985922a436ed701ff3
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
Signed-off-by: Hariram Purushothaman <hariramp@codeaurora.org>
8 years agoclk: osm: msm: add support for DxFSM workaround
Osvaldo Banuelos [Wed, 6 Jul 2016 21:40:59 +0000 (14:40 -0700)]
clk: osm: msm: add support for DxFSM workaround

Support a new OSM sequence which optimizes the number of
instructions required to program MEM-ACC settings and
the APM configuration of the CPUSS. This frees up sufficent
space to implement the DxFSM workaround.

CRs-Fixed: 1043040
Change-Id: I9499497cb558efcf3c73e7145ce65d3f129be696
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoclk: msm: osm: add workaround for C2D/C3 + D2D collapse issue
Osvaldo Banuelos [Mon, 20 Jun 2016 19:51:53 +0000 (12:51 -0700)]
clk: msm: osm: add workaround for C2D/C3 + D2D collapse issue

Program architectural register 6 with the address of the SPM
core count hysteresis register and architectural register 7
with the up and down core-count SPM hysteresis values. The
sequencer uses this information to ensure stable operation
when CPU retention or power-collapse and cluster collapse
LPMs are enabled.

CRs-Fixed: 1045435
Change-Id: I5e41ce376c694736128ceb051db86f93467fdaea
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoARM: dts: msm: update frequency to ACC level mappings for msmcobalt
Osvaldo Banuelos [Mon, 20 Jun 2016 18:16:16 +0000 (11:16 -0700)]
ARM: dts: msm: update frequency to ACC level mappings for msmcobalt

Since LowSVS and SVS frequencies share the same ACC settings,
map any frequency in the LowSVS to SVS range to the same ACC
level. By doing so, the OSM device need only support 3 levels
instead of 4 thus saving sequencer instruction space. Also,
update the ACC setting to ensure bit 31 of the last ACC register
in each cluster is set when running at LowSVS/SVS frequencies.

CRs-Fixed: 1021659
Change-Id: I322b9b57ec89f5cdc75336d83010ff89a6bb5726
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoARM: dts: msm: specify APM threshold voltage in OSM for msmcobalt
Osvaldo Banuelos [Tue, 21 Jun 2016 22:10:20 +0000 (15:10 -0700)]
ARM: dts: msm: specify APM threshold voltage in OSM for msmcobalt

Define the APM threshold voltage to be used by the OSM device
to determine the correct APM supply selection for different
DCVS setpoints.

CRs-Fixed: 1021656 1030444
Change-Id: Iebeb45eaa2503bd5be19f00938d0dbec1163c5a5
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoclk: msm: osm: add support for APM crossover corner
Osvaldo Banuelos [Tue, 21 Jun 2016 16:19:16 +0000 (09:19 -0700)]
clk: msm: osm: add support for APM crossover corner

Add support to determine the APM threshold corner via open-loop
voltages in the VDD regulator OPP table. The threshold corner
is used by OSM to determine the APM supply for each DCVS setpoint.
The crossover corner is used by OSM to request a specific voltage
during the APM switch transition.

CRs-Fixed: 1021656 1030444
Change-Id: Iac04f6db8e85b3651a33b6c9bff667365cae891d
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoregulator: cprh-kbss-regulator: add support for APM crossover corner
Osvaldo Banuelos [Tue, 24 May 2016 00:12:08 +0000 (17:12 -0700)]
regulator: cprh-kbss-regulator: add support for APM crossover corner

Add support for a corner whose open-loop voltage corresponds to the
VDD supply voltage required during an APM switch transition. This
corner is requested by OSM hardware to the CPRh controller when
the VDD supply must be set to a specific voltage to ensure a stable
APM switch procedure. Define a crossover corner of 880 mV for both
VDD_APC CPR devices.

CRs-Fixed: 1021656
Change-Id: Icf4b640ec2c330b0d9721d3494297e2d8445c9b6
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agothermal: qpnp-adc-tm: Update reverse threshold and notification
Siddartha Mohanadoss [Fri, 15 Jul 2016 18:16:42 +0000 (11:16 -0700)]
thermal: qpnp-adc-tm: Update reverse threshold and notification

Add support to scale reverse thresholds on VADC_TM refresh
peripheral for voltage measurements such as vbatt, vph_pwr,
thermistor channels, PMIC die temperature.

VADC_TM refresh uses one interrupt for high and low threshold
notification. Update the sequence to check the respective
sensors status for high/low threshold crossing for the VADC_TM
refresh and notify the clients on a threshold crossing.

Change-Id: I070b537e14b505bc247f2f5e6a0e125f1d0fbb81
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>