Commit graph

590157 commits

Author SHA1 Message Date
Linux Build Service Account
008dfbc55c Merge "f_audio_source: Use f_audiosource as first device name" 2017-05-30 16:04:31 -07:00
Linux Build Service Account
5f638a12ab Merge "diag: dci: Add validity check for dci client's process descriptor" 2017-05-30 16:04:30 -07:00
Linux Build Service Account
28ca6375c7 Merge "adreno_tz: Remove unnecessary devfreq NULL check in tz_handler()" 2017-05-30 16:04:29 -07:00
Linux Build Service Account
a7f31ff804 Merge "wil6210: fix wil->platform_ops.suspend failure handling" 2017-05-30 16:04:28 -07:00
Linux Build Service Account
3903a9f28c Merge "ARM: dts: msm: enable 11AD keep-radio-on-during-sleep on MSM8998" 2017-05-30 16:04:27 -07:00
Linux Build Service Account
103e31feaa Merge "battery: don't wait for aicl rerun" 2017-05-30 16:04:26 -07:00
Linux Build Service Account
6d0b4d37a3 Merge "smb-lib: ignore disconnects during power role swap" 2017-05-30 16:04:25 -07:00
Linux Build Service Account
4cc716041e Merge "iommu/arm-smmu: Optimized IOMMUS property parsing" 2017-05-30 16:04:24 -07:00
Linux Build Service Account
22d89182ea Merge "ARM: dts: msm: Add support for MSM8996pro UFS based board" 2017-05-30 16:04:24 -07:00
Linux Build Service Account
350f6ac817 Merge "msm: ipa: Fix to use GFP_DMA flag" 2017-05-30 09:01:09 -07:00
Abir Ghosh
25865f691b qbt1000: Fix for incorrect buffer size check and integer overflow
Fix an incorrect buffer size check which might have caused integer
overflow.

CRs-Fixed: 2045285
Change-Id: I3b5b996c7405f51b488d6cbda31c81a9a9905f23
Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
2017-05-29 23:57:06 -07:00
Gopikrishna Mogasati
2b1e32ab83 diag: dci: Add validity check for dci client's process descriptor
This fix checks the validity of dci client's process descriptor
before issuing a signal to it when subsystem restart is performed.
This fix avoids accessing cleaned-up process descriptor's fields.

CRs-Fixed: 2047235
Change-Id: Ic26977dc22c68f0a7007dd963c9273bba2a5dbfe
Signed-off-by: Gopikrishna Mogasati <gmogas@codeaurora.org>
2017-05-30 12:18:34 +05:30
Linux Build Service Account
ace73576d2 Merge "msm: mdss: Fix potential dereferencing of null pointer" 2017-05-29 10:17:24 -07:00
Linux Build Service Account
539f0433bb Merge "Asoc: msm: sdm660: Move mbhc_hs_detect to late_probe" 2017-05-29 01:01:33 -07:00
Linux Build Service Account
b7d425e951 Merge "ASoC: msm: Add IEC_61937_FMT_UPDATE event" 2017-05-28 05:12:00 -07:00
Maya Erez
60c1eb0d65 wil6210: fix wil->platform_ops.suspend failure handling
Current handling of wil->platform_ops.suspend can lead to
bad cases, as wil_status_suspending was cleared before
wil_status_resuming was set and bus request voting was restored
too late.
In addition, bus voting in suspend should be done only at the end
of he suspend flow.

Change-Id: I8856d393c1796a2bd8fd5e07b233a5d61efc80c0
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-05-28 10:45:19 +03:00
Maya Erez
d07260bed5 wil6210: restore bus voting before resuming the device
Move the bus request restore to be done prior to
sending wmi_resume to the device, as the device can restore
the data path upon receiving this command.

Change-Id: Ib2442fcfea055a855bb6be65f9013bb7ad754767
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-05-28 10:45:04 +03:00
Linux Build Service Account
19827f9f2e Merge "msm: mdss: Call regulator enable/disable for both DSI controllers" 2017-05-27 18:12:14 -07:00
Linux Build Service Account
d11a00dbfa Merge "msm: mdss: ensure clocks are on till pixel transfer is completed" 2017-05-27 18:12:13 -07:00
Linux Build Service Account
ce48f56032 Merge "msm: mdss: remove client from device list if failed to register" 2017-05-27 18:12:12 -07:00
Linux Build Service Account
8c1e34400a Merge "msm: ipa: fix security issues in ipa wan driver" 2017-05-27 18:12:11 -07:00
Linux Build Service Account
a19821d5d3 Merge "msm: mdss: add recovery if TE is not coming from the panel" 2017-05-27 18:12:04 -07:00
Linux Build Service Account
bc1c25b0ef Merge "msm: mdss: Correct MDSS display wakeup time calculation" 2017-05-27 18:12:03 -07:00
Linux Build Service Account
de3a51ca17 Merge "msm: mdss: remove HDMI connected flags" 2017-05-27 18:12:02 -07:00
Linux Build Service Account
c9b46c3b0c Merge "msm: mdss: remove wait for vsync in display commit" 2017-05-27 18:12:01 -07:00
Linux Build Service Account
bdff9ac244 Merge "ARM: dts: msm: Enable dynamic fps for msm8998" 2017-05-27 18:12:00 -07:00
Linux Build Service Account
988a9ef224 Merge "msm: mdss: Disable traffic shaper in command mode" 2017-05-27 18:11:59 -07:00
Linux Build Service Account
afa71cb2a8 Merge "msm: mdss: Avoid dfps update till unblank is complete" 2017-05-27 18:11:58 -07:00
Linux Build Service Account
7681397f8a Merge "msm: mdss: Update AD last strength during AD mode switch" 2017-05-27 18:11:57 -07:00
Linux Build Service Account
50fbdbba86 Merge "msm: mdss: Use 64-bit math for bandwidth calculation" 2017-05-27 18:11:56 -07:00
Linux Build Service Account
11d6b41f25 Merge "msm: sde: Fix potential deferencing of null pointer" 2017-05-27 18:11:55 -07:00
Linux Build Service Account
1b02c94edb Merge "msm: sde: Add check for plane_count range in SDE rotator" 2017-05-27 18:11:54 -07:00
Linux Build Service Account
c68f15ba45 Merge "msm: mdss: do not apply AVMUTE for non-CTA format" 2017-05-27 18:11:52 -07:00
Linux Build Service Account
2859a4d703 Merge "msm: mdss: Correct source and destination buffer rectangles" 2017-05-27 18:11:51 -07:00
Linux Build Service Account
bf485cf86c Merge "msm: mdss: dp: fix display port crash caused by unclocked register access" 2017-05-27 18:11:50 -07:00
Linux Build Service Account
533ba786ca Merge "ARM: dts: msm: Correct sspp vig pcc offset for MSM8998" 2017-05-27 18:11:49 -07:00
Linux Build Service Account
a65236bef0 Merge "ARM: dts: msm: update AUX channel configurations for SDM630" 2017-05-27 10:52:08 -07:00
Linux Build Service Account
0c58585895 Merge "spmi: spmi-pmic-arb: check apid against limits before calling irq handler" 2017-05-26 21:11:12 -07:00
Linux Build Service Account
55be72faa5 Merge "power_supply: introduce PR_SWAP property" 2017-05-26 21:11:10 -07:00
Linux Build Service Account
ec7abeae1a Merge "time: Remove CONFIG_TIMER_STATS" 2017-05-26 21:11:04 -07:00
David Collins
f1c18592bc spmi: spmi-pmic-arb: check apid against limits before calling irq handler
Check that the apid for an SPMI interrupt falls between the
min_apid and max_apid that can be handled by the APPS processor
before invoking the per-apid interrupt handler:
periph_interrupt().

This avoids an access violation in rare cases where the status
bit is set for an interrupt that is not owned by the APPS
processor.

Change-Id: Ib74cb4ae7be9849f0243659bb4c1435340e1e087
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-05-26 15:54:42 -07:00
Abhijeet Dharmapurikar
ef4834bc69 battery: don't wait for aicl rerun
In the callback to change the usb icl, the current code waits to
rerun AICL. These waits were to ensure that AICL completes and we
can restore parallel charger once done.

However, these waits are unnecessary since we invoke code to
enable USBIN_I_VOTER for parallel charger in a workqueue. Moreover,
these wait causes compliance failures. Remove those waits.

Change-Id: Id2e3ca87e111aa415c47683a2cc365a9bece7ffb
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-05-26 14:29:25 -07:00
Abhijeet Dharmapurikar
86e1155676 smb-lib: ignore disconnects during power role swap
During a power_role swap, the CC lines get disconnected for a bit.
This causes the charger driver to prematurely declare a disconnection
and it resets back to disconnected state.

Update the code to distinguish a disconnect caused during PR_SWAP vs
a real disconnect.
Avoid
- resetting the CC line to HW control
- switching DRP mode
- enabling the crude sensor workaround
- enabling APSD
during a discconnet caused by PR_SWAP

Note that PR_SWAP setting/unsetting needs to done regardless of the
connected state of the CC line. When PR_SWAP is notified to be
completed and the CC lines are still seen disconnected call the real
disconnect code.

While at it Vconn can be disabled too in the real disconnect code path.

Change-Id: I97ab7ee343c5b2bcf25797e6acbb1de37f5ba00a
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-05-26 14:29:13 -07:00
Linux Build Service Account
15b9da94dd Merge "ARM: dts: msm: enable partial update for dual dsi cmd mode on msm8998" 2017-05-26 14:09:11 -07:00
Linux Build Service Account
0482210d38 Merge "media: dvb-core: Fix possible buffer overflow error" 2017-05-26 14:09:10 -07:00
Linux Build Service Account
881828b004 Merge "msm: kgsl: Deal with a NULL pointer when creating default pagetable" 2017-05-26 14:09:09 -07:00
Abhijeet Dharmapurikar
e91e2202ec power_supply: introduce PR_SWAP property
Introduce POWER_SUPPLY_PROP_PR_SWAP to notify if the device is in
power role swap.

Change-Id: I8d0cb3a71ec1a646b7ec37405e66cb00ddc40e0d
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-05-26 11:29:38 -07:00
Abhijeet Dharmapurikar
85d191129e smb-lib: reset SDP draw to 100mA
The driver could leave SDP's current draw to a higher value
once its removed. This is because the code to reset the
current limit needs the type to be SDP to reset it which is
not going to be the case after removal.

So reset SDPs current limit back to 100mA in the code path
for non-SDP chargers.

Change-Id: Idfb9df1b72a17f1db63265b85f6546cbb77c4018
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-05-26 11:29:37 -07:00
Utkarsh Saxena
fd92093b0a msm: ipa: Fix to use GFP_DMA flag
IPAv2 hardware works with 32 bit addressing,
so allocate a kernel memory using GFP_DMA flag
which is processed by IPA hardware. Added code
changes to free correct tx_pkt pointer in fail_dma_map condition.

Change-Id: I5f7005c3bf89275fd56af648ee5bf1b3d06afc38
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-05-26 19:28:56 +05:30
Linux Build Service Account
33a94f46e5 Merge "ASoC: APR: Fix missing APR deregister from asm" 2017-05-26 06:31:12 -07:00