Commit graph

592356 commits

Author SHA1 Message Date
Yue Ma
4a2171cd80 cnss: Correct boot sequence for WLAN hardware
Vote 1.8V IO and XTAL regulators before 3.3V VREG for WLAN hardware
to strictly follow the hardware requirement. Make sure 3.3V VREG is
voted at least 100us after 1.8V IO.

Change-Id: Ifc52c2062349a9913e6c998573b62d111faa5886
CRs-fixed: 1009287
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-08-03 14:16:07 -07:00
Linux Build Service Account
fc30a7a640 Merge "usb: f_gsi: Fix rndis message parsing of erroneous requests" 2017-08-02 18:19:46 -07:00
Linux Build Service Account
6da0b6fea3 Merge "cnss_pci: fix the race condition bug in WLAN firmware table config" 2017-08-02 18:19:45 -07:00
Linux Build Service Account
0a87783561 Merge "msm: sde: move early splash's node parsing code for msm8996 auto" 2017-08-02 18:19:44 -07:00
Sarada Prasanna Garnayak
8c025ab193 cnss_pci: fix the race condition bug in WLAN firmware table config
Update the synchronization process of the cnss platform driver
memory expansion and WLAN firmware table configuration from
the userspace through sysfs firmware update node.

CRs-Fixed: 2071560
Change-Id: I672ba84ad10c905be7855c1b8a930ac7adf349f1
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-08-02 02:09:58 -07:00
Sriharsha Allenki
bce4a8a55c usb: f_gsi: Fix rndis message parsing of erroneous requests
In the completion handler of rndis command requests
we are parsing the request buffers without
checking the status of the request. This might
cause parsing of the erroneous requests.
Fix this by checking the status of the request before
parsing the request buffer.

Change-Id: I52001128ac421e58e1801eebc243a8c91618582c
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2017-08-02 10:33:06 +05:30
Linux Build Service Account
560d31410c Merge "ais: fix getting vfe regulators number bug" 2017-08-01 20:49:12 -07:00
Linux Build Service Account
d945ea33d3 Merge "net: rmnet_data: validate csum in SW" 2017-08-01 20:49:11 -07:00
Linux Build Service Account
acacfdf4a9 Merge "msm: kgsl: Do not memset pages to zero while adding to pool" 2017-08-01 20:49:10 -07:00
Linux Build Service Account
734e0fe2d9 Merge "msm: pcie: add support for switch latency" 2017-08-01 20:49:09 -07:00
Guchun Chen
56f9b76a53 msm: sde: move early splash's node parsing code for msm8996 auto
This change is to move specific node parsing code to other place
for early splash feature on auto platform, not impacting kernel
booting process of other platforms.

Change-Id: I6deed1a75545c82ee777d9b4269f1420ab2eb07a
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2017-08-02 09:44:40 +08:00
Linux Build Service Account
e29d253ecf Merge "msm: mdss: dsi: Remove redundant opmode configuration" 2017-08-01 13:41:03 -07:00
Ashwanth Goli
088a4e5beb net: rmnet_data: validate csum in SW
Do SW checksum validation if rmnet_data checksum
validation fails.

Change-Id: Ifff229dc1e7eb592d58fc66ea278debb292b89aa
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
Signed-off-by: Tejaswi Tanikella <tejaswit@codeaurora.org>
2017-08-01 04:53:58 -07:00
Rama Krishna Phani A
12fe1aaf01 msm: pcie: add support for switch latency
Add support for switch latency property to add
additional delay if switch is present.

Change-Id: Ia64a79d5ec51d3abb66cebd0a187349711c96af2
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-08-01 03:10:13 -07:00
Rama Krishna Phani A
6a36ebb69e Revert "msm: pcie: Fix for MDM enumeration issue"
This reverts commit 0e4399bcb0.
Delay is needed only in case of PCIe switch and not required
for normal case.

Change-Id: Ifa6317f7be1159b2ebc55f64fabcc47d450dc260
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-08-01 03:09:52 -07:00
Linux Build Service Account
c1b3ec77ab Merge "ASoC: msm: qdsp6v2: Open unique COPP port for concurrent ULL streams" 2017-07-31 23:44:04 -07:00
Linux Build Service Account
d977773d9a Merge "usb: dwc3: dwc3-msm: Handle floating charger PMI notification properly" 2017-07-31 23:44:04 -07:00
Linux Build Service Account
a59b89b170 Merge "cnss2: Add debugfs support to simulate device and firmware boot" 2017-07-31 23:44:02 -07:00
Linux Build Service Account
6da9e55e26 Merge "ARM: dts: msm: Support Primary TDM Interface for msm8996" 2017-07-31 23:44:01 -07:00
Linux Build Service Account
81d54ebe21 Merge "cnss2: Remove PCI ioremap wrapper function" 2017-07-31 23:44:00 -07:00
Linux Build Service Account
d5c822f343 Merge "cpufreq: interactive: fix to come out of hysteresis mode" 2017-07-31 23:44:00 -07:00
Linux Build Service Account
e944accf8c Merge "msm: kgsl: Fix leak when preemption init fails" 2017-07-31 23:43:59 -07:00
Linux Build Service Account
97c6cfb336 Merge "input: misc: hbtp_input: fix memory corruption in list_del_entry" 2017-07-31 23:43:58 -07:00
Linux Build Service Account
6be8573eca Merge "msm: mdss: recalc pclk for Y420 format" 2017-07-31 23:43:57 -07:00
Linux Build Service Account
2a27c1aaf7 Merge "serial: msm_serial_hs: Modify wakeup handler disablement and processing" 2017-07-31 23:43:56 -07:00
Andy Sun
a865a851bd ais: fix getting vfe regulators number bug
The original method of getting array member size is wrong.
Considerating vfe_dev->hw_info is set during runtime, so set the number
statically.

Change-Id: I90a2fb19948409b22ed219ba8ec8bc4deb4f0a46
Signed-off-by: Andy Sun <bins@codeaurora.org>
2017-08-01 11:15:01 +08:00
Haynes Mathew George
aa5d0fc240 ASoC: msm: qdsp6v2: Open unique COPP port for concurrent ULL streams
Routing driver reuses the same adm for streams with the same
app_type, sample_rate etc. This isn't allowed for ULL streams
as per the DSP interface. We need to open a separate COPP
port for concurrent ULL streams

CRs-Fixed: 2083105
Change-Id: I569b32830145d6dae99449d0bc4148b2f60b101d
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Acked-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2017-07-31 18:31:56 -07:00
Yue Ma
be9b12a5a0 cnss2: Add debugfs support to simulate device and firmware boot
Add debugfs interface to simulate device and firmware boot step
by step. This can provide the flexibility to debug both host and
device issues in boot path. The debugfs node will only be added
in debug builds.

Change-Id: I4cf03efad5e5a792095f509864fddd54dc6e2e7c
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-31 17:34:25 -07:00
Linux Build Service Account
86db25491e Merge "soc: qcom: Fix error propagation in scm_qcpe driver" 2017-07-31 16:19:17 -07:00
Linux Build Service Account
f83816101f Merge "ASoC: msm: qdsp6v2: Reserve MultiMedia16 for NOIRQ" 2017-07-31 16:19:16 -07:00
Linux Build Service Account
03f28c162d Merge "wil6210: protect against invalid length of tx management frame" 2017-07-31 09:52:17 -07:00
Linux Build Service Account
2552d0a834 Merge "power: smb-lib: enable DPDM regulator at CC attach" 2017-07-31 09:52:17 -07:00
Linux Build Service Account
1bb95392ad Merge "msm: sde: release LK's pool when LK exits" 2017-07-31 09:52:16 -07:00
Amit Blay
0d77bc0766 soc: qcom: Fix error propagation in scm_qcpe driver
Fix scm_qcpe such that an error returned in X0, will be
propagated back to the calling client.

Change-Id: I8014b3f2f850d8664404c69e77ba36295a28db07
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-07-31 12:17:40 +03:00
Linux Build Service Account
02c043ee88 Merge "Revert "ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails"" 2017-07-30 19:58:04 -07:00
Linux Build Service Account
81e9edba00 Merge "power: qpnp-fg-gen3: Use msoc for recharge-soc comparison" 2017-07-30 19:58:03 -07:00
Lior David
1b3f613621 wil6210: protect against invalid length of tx management frame
This check is not valid:
if (len < sizeof(struct ieee80211_mgmt))
Because ieee80211_mgmt contains the ieee80211 header followed by
a union of various action frames, so the check will fail when trying
to send any management frame which is smaller than the largest action
frame in the union. This breaks FST and possibly other features.
Fix this by checking only against the header structure size.

Change-Id: I730300e180d9509f3555f16a0803af53cc8eca0a
Signed-off-by: Lior David <liord@codeaurora.org>
2017-07-30 20:32:38 +03:00
Tirupathi Reddy
4b9f893b62 Revert "ARM: dts: msm: Enable ACD functionality for sdm630 CPU rails"
This reverts commit a4ca7944f4.
There have been stability failures (SPM ack timeouts) due to
ACD. Reverting this patch until the issue is resolved.

CRs-Fixed: 2084607
Change-Id: I407e4ecc5bd7af738c0d0599d1fa57007e959495
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-07-30 21:19:28 +05:30
Anirudh Ghayal
0934c154fd power: qpnp-fg-gen3: Use msoc for recharge-soc comparison
The recharge SOC is based off the monotonic SOC (msoc). Hence, use
the msoc to determine if the hold-soc-while-full logic needs
to be applied.

CRs-Fixed: 2080211
Change-Id: I52b02adc4d97cbed42b0c8034a5a48dba1e343d3
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-07-30 21:12:15 +05:30
Linux Build Service Account
1e931d0f3f Merge "msm: wlan: Fix regulatory rule of JO" 2017-07-29 21:19:28 -07:00
Linux Build Service Account
5744dc2625 Merge "msm: camera: Instead of read_lock use read_lock_irqsave." 2017-07-29 01:12:47 -07:00
Yue Ma
3e186193bc cnss2: Add an option to skip booting device during driver probe
Add an option for the debug module parameter to skip device boot
during driver probe. This adds the flexibility to boot device
later after kernel boots.

Change-Id: Icd8a544149f3d6b0f4ca3e3f7e004d230c2469ab
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-07-28 19:29:07 -07:00
Linux Build Service Account
c0737029c3 Merge "msm: mdss: fix the use after free problem in rotator ioctl" 2017-07-28 16:49:01 -07:00
Linux Build Service Account
79a52fb558 Merge "ASoC: msm8998: Update DAI IDs for DSP HW Transcode loopback" 2017-07-28 16:49:00 -07:00
Linux Build Service Account
826a2e3cd0 Merge "msm: mdss: dp: avoid aux transactions if dp cable is disconnected" 2017-07-28 16:48:59 -07:00
Linux Build Service Account
d0b9794078 Merge "ARM: dts: msm: add memory region info for early splash feature on msm8996" 2017-07-28 16:48:57 -07:00
Linux Build Service Account
81dcb8ec19 Merge "msm: sde: add early display handoff feature" 2017-07-28 16:48:56 -07:00
Linux Build Service Account
387722421f Merge "drm/msm/sde: disable vblank ref power on crtc disable" 2017-07-28 16:48:53 -07:00
Linux Build Service Account
21b2f0c012 Merge "drm/msm/sde: output black frame during resume operation" 2017-07-28 16:48:51 -07:00
Hemant Kumar
c5c2ca0587 usb: dwc3: dwc3-msm: Handle floating charger PMI notification properly
When floating charger is detected, driver first notifies -ETIMEDOUT to
PMI after 10 sec and then stops peripheral by simulating cable disconnect.
As part of disconnect it notifies PMI to draw 0ma which PMI re-interprets
as a SDP in bus suspend state and reconfigures PMI for SDP. Hence send
charger current notification only as part of cable disconnect simulation
by checking charger type.

Change-Id: Ibafe8d52fa14ff32b6cb11e9f6e15a4f3f147d7a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-07-28 16:36:54 -07:00