Commit graph

590448 commits

Author SHA1 Message Date
Linux Build Service Account
0899f88b10 Merge "net: ipc_router: Add dynamic enable/disable wakeup source feature" 2017-06-07 20:57:59 -07:00
Linux Build Service Account
3f35f049e7 Merge "usb: pd: Increment MessageID only on successful TX" 2017-06-07 20:57:54 -07:00
Linux Build Service Account
9b5ee09c39 Merge "mhi: core: Add support for host triggered device ram dump" 2017-06-07 20:57:53 -07:00
Linux Build Service Account
04587e2ca3 Merge "usb: xhci: Free leaked command in case xhci_queue_stop_endpoint fails" 2017-06-07 20:57:51 -07:00
Linux Build Service Account
de6917af67 Merge "msm: mdss: Update msm8998 HDMI PHY sequence for bridge chip" 2017-06-07 20:57:50 -07:00
Linux Build Service Account
f10af35ab9 Merge "msm: mdss: update polarity based on HDMI resolution" 2017-06-07 20:57:49 -07:00
Linux Build Service Account
eaeca093b4 Merge "power: qpnp-fg-gen3: Fix possible integer overflow" 2017-06-07 20:57:48 -07:00
Linux Build Service Account
b420cddf1f Merge "soc: qcom: subsys-pil-tz: Initialize subsys_dev pointer" 2017-06-07 20:57:46 -07:00
Linux Build Service Account
edc5117530 Merge "policy_engine: Add module parameter to start USB stack" 2017-06-07 20:57:45 -07:00
Jack Pham
c8735c7530 usb: pd: Increment MessageID only on successful TX
According to the PD 2.0 Spec, Section 6.2.1.3, the MessageID
field shall only be incremented upon successful transmission
(meaning GoodCRC was received). Thus, increment the counter
only when pd_phy_write() succeeds.

Change-Id: I73dce5736c473a1f79db9be868442c7941d13c44
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-06-07 15:39:31 -07:00
Linux Build Service Account
8efb4552d1 Merge "msm: mdss: do not print error in case sync_trigger is enabled" 2017-06-07 13:13:41 -07:00
Linux Build Service Account
590ba42a33 Merge "ARM: dts: msm: Enable dynamic fps for msm8998" 2017-06-07 13:13:40 -07:00
Linux Build Service Account
3ba7511de8 Merge "msm: mdss: disable AVR for msm8998" 2017-06-07 13:13:39 -07:00
Linux Build Service Account
b13c09c779 Merge "msm: mdss: Check if secure display is enabled during non-secure validate" 2017-06-07 13:13:38 -07:00
Linux Build Service Account
bed622b809 Merge "msm: mdss: Avoid NULL mixer during partial update ROI setup" 2017-06-07 13:13:37 -07:00
Linux Build Service Account
2a70296f1a Merge "ARM: dts: msm: enable null packet on msm8998" 2017-06-07 13:13:36 -07:00
Linux Build Service Account
b8639a8f8c Merge "msm: mdss: Fix QSEED3 MDP clock calculation for cmd mode panel" 2017-06-07 13:13:35 -07:00
Linux Build Service Account
19bce2b047 Merge "ARM: dts: msm: specify a PWM mode threshold for PMI8998 BoB on MSM8998" 2017-06-07 13:13:33 -07:00
Linux Build Service Account
39ce0d62ff Merge "regulator: rpm-smd-regulator: add support for load based mode control" 2017-06-07 13:13:33 -07:00
Linux Build Service Account
e3954e1572 Merge "drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZE" 2017-06-07 13:13:31 -07:00
Linux Build Service Account
9dc0febd05 Merge "ARM: dts: msm: control avdd enable gpio for msm8998 QVR/SKUK HDK" 2017-06-07 13:13:29 -07:00
Linux Build Service Account
4c6e5c55cd Merge "msm: mdss: control avdd enable gpio when doing panel reset" 2017-06-07 13:13:29 -07:00
Arun Kumar Neelakantam
10ed66867a net: ipc_router: Add dynamic enable/disable wakeup source feature
By default IPC Router core uses edge and port specific wakeup sources
which are blocking system suspend in special use cases like streaming
non wakeup sensors data at high speed.

Add dynamic wakeup source enable/disable functionality to acquire the
wakeup source only during the APPS suspend stage.

CRs-Fixed: 2057391
Change-Id: I2a5ea4e2c31432a9dd195c702ef7001b26eed33d
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2017-06-07 11:34:08 +05:30
Jack Pham
71c2e3fc4f usb: pdphy: Prevent sending when message is just received
Prevent pd_phy_write() from sending a TX message if an RX
message IRQ is being handled, or if the RX_TOKEN is set
(indicating a message has just arrived) by returning -EBUSY
to let the upper layer gracefully abort. This helps in cases
(such as compliance testing) in which VDM messages are
received very quickly after one another and the protocol
layer needs to first handle the incoming message.

Change-Id: I3e26d7ff062ff7f51b6c66ab8d078b05749f808a
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-06-06 22:50:28 -07:00
Jack Pham
00adcfcbad usb: pd: Keep PROP_PR_SWAP set during ERROR_RECOVERY
Since ErrorRecovery handling requires a spoof disconnect, the
charger driver needs to avoid immediately reapplying the
terminations. Re-use the PROP_PR_SWAP property which ignores
the disconnect. After the 25ms delay, policy engine will
explicitly reset back to DRP.

Also remove the transition to ErrorRecovery from PE_SNK_DISCOVERY
as it is removed in V1.3 of the PD 2.0 specification.

Change-Id: I41f1da293208b6813dfb540a123ee84ac35b4a68
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-06-06 22:50:27 -07:00
Jack Pham
ed97270b78 usb: pd: Set PD_IN_HARD_RESET as soon as hard reset received
Move setting of PD_IN_HARD_RESET to the phy_sig_received()
callback in order to inform the charger to ignore the upcoming
VBUS toggle as soon as possible. This will help decrease the
possibility of racing to set the appropriate HW bits while
VBUS turns off and leads to the charger indicating disconnect.

Change-Id: I42cc2969defa48c9987fa4bea64780866861d868
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-06-06 22:50:26 -07:00
Linux Build Service Account
eb28d0da15 Merge "regulator: spm-regulator: Add support for FTS426 type regulators" 2017-06-06 21:33:16 -07:00
Linux Build Service Account
feb56ddbc1 Merge "ath10k: Update world regulatory rules" 2017-06-06 21:33:14 -07:00
Linux Build Service Account
ceffb12dba Merge "wil6210: stop TX queues when suspending" 2017-06-06 21:33:13 -07:00
Linux Build Service Account
e01e0ecf6a Merge "ARM: dts: msm: Defer regulator disable for SDM660 GPU SMMU" 2017-06-06 21:33:12 -07:00
Linux Build Service Account
61a82b2a3f Merge "msm: cec: Use CEC notifier framework in adapter driver" 2017-06-06 21:33:09 -07:00
Linux Build Service Account
fc6bb14548 Merge "fbdev: core: Initialise structure to prevent kernel information leak" 2017-06-06 21:33:08 -07:00
Linux Build Service Account
fb0ac8cd2b Merge "hrtimer: Don't drop the base lock when migration during isolation" 2017-06-06 21:33:06 -07:00
Linux Build Service Account
ccf240d7b7 Merge "msm: camera: isp: Disable SMMU stall upon VFE page fault" 2017-06-06 21:33:05 -07:00
Linux Build Service Account
c588e27b98 Merge "msm: camera: Prevent info leak in kernel driver." 2017-06-06 21:33:04 -07:00
Linux Build Service Account
412bca522f Merge "msm: camera: isp: Avoid information leak in ISPIF" 2017-06-06 21:33:04 -07:00
Linux Build Service Account
e5f02a0e83 Merge "ARM: dts: msm: Add cpp micro reset flag for SDM630" 2017-06-06 21:33:02 -07:00
Sujeev Dias
90bf661847 mhi: core: Add support for host triggered device ram dump
Add support for bus master to trigger PCIe device into ram dump
mode to collect device ram dump. RDDM capabilities are extended to
support under kernel panic as well.

CRs-Fixed: 2055981
Change-Id: I18f7d5784992df70aafc6e41d248ced3fac37181
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-06-06 16:15:49 -07:00
Sujeev Dias
220c2f0aed mhi: core: Add support for PCIe linkdown abort
PCIe linkdown event can trigger anytime. During linkdown event
abort any work MHI host doing that require PCIE link.

CRs-Fixed: 2055975
Change-Id: Idba907c7977594dc08575e0020a7afa4868bc0e4
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-06-06 16:15:04 -07:00
Linux Build Service Account
ccde34ffb3 Merge "spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.h" 2017-06-06 13:21:57 -07:00
Linux Build Service Account
f96ac4e094 Merge "mmc: debugfs: fix unclocked register access by force_error" 2017-06-06 13:21:57 -07:00
Linux Build Service Account
952a3f35ab Merge "ASoC: msm8998: fix clock refcount for MI2S/AUXPCM shutdown" 2017-06-06 13:21:54 -07:00
Linux Build Service Account
f7346af205 Merge "ASoC: msm: return the latest app type cfg data set when get is called" 2017-06-06 13:21:53 -07:00
Linux Build Service Account
9a3e66cffb Merge "Revert "ASoC: wcd9335: enable APC in Tx path"" 2017-06-06 13:21:51 -07:00
Linux Build Service Account
43f1e336c2 Merge "smb-lib: clear EXIT_SNK_BASED_ON_CC BIT after cable removal" 2017-06-06 13:21:50 -07:00
Linux Build Service Account
1d5844ba9d Merge "sched: hmp: Optimize cycle counter reads" 2017-06-06 13:21:50 -07:00
Linux Build Service Account
2d08b001ac Merge "battery: remove 20ms delay for running AICL" 2017-06-06 13:21:49 -07:00
Linux Build Service Account
6ed51e0bab Merge "sched: Don't active migrate tasks to CPUs in the same cluster" 2017-06-06 13:21:48 -07:00
Linux Build Service Account
e227c0d7c3 Merge "smb-lib: change debounce time to 20mS while in pr_swap" 2017-06-06 13:21:47 -07:00
Linux Build Service Account
dbc81522c3 Merge "power: qcom: smb-lib: check for USB removal after legacy WA" 2017-06-06 13:21:46 -07:00