Commit graph

585375 commits

Author SHA1 Message Date
Linux Build Service Account
7309dc1ced Merge "ARM: dts: msm: Add routing controls for sdm660 qrd" 2017-03-14 23:45:47 -07:00
Linux Build Service Account
7a17dfedc6 Merge "ASoc: msm: qdsp6v2: Add timestamp support for offload playback" 2017-03-14 23:45:46 -07:00
Linux Build Service Account
3961be10c4 Merge "soc: qcom: Avoid possible buffer overflow in service-locator" 2017-03-14 23:45:45 -07:00
Linux Build Service Account
040d1247eb Merge "usb: host: xhci: Move LPM support quirk to xhci_plat_quirks" 2017-03-14 23:45:45 -07:00
Linux Build Service Account
bb6ff6488f Merge "ARM: dts: msm: enable display for SDM660 PM660A QRD" 2017-03-14 23:45:44 -07:00
Linux Build Service Account
01107b6d9c Merge "msm: mdss: set interface stopped flag properly during suspend" 2017-03-14 23:45:43 -07:00
Linux Build Service Account
83b21004d2 Merge "msm: mdss: Avoid unnecessary warnings during pipe unstaging" 2017-03-14 23:45:42 -07:00
Linux Build Service Account
6b1a41eea8 Merge "firmware: qcom: tz_log: fix reading log issue on secure boot enabled device" 2017-03-14 23:45:41 -07:00
Linux Build Service Account
29620da5ab Merge "msm: isp: Add support for VFE dual camera resolution limit" 2017-03-14 23:45:40 -07:00
Linux Build Service Account
c4849b9b3e Merge "ARM: dts: msm: update vote on ldo11 for amoled panel on sdm660" 2017-03-14 23:45:39 -07:00
Linux Build Service Account
026bc74afe Merge "ASoC: codecs: Add PM suspend routines for digital codec" 2017-03-14 23:45:38 -07:00
Linux Build Service Account
6490c4e227 Merge "drm/msm: Remove DRM_MSM_NUM_IOCTLS" 2017-03-14 23:45:37 -07:00
Linux Build Service Account
3d973006bc Merge "drm/msm: Move QTI specific ioctls to avoid conflict" 2017-03-14 23:45:36 -07:00
Linux Build Service Account
ba76a5fa05 Merge "msm: camera: isp: correct the CX iPeak voting logic" 2017-03-14 23:45:36 -07:00
Linux Build Service Account
f3392ded87 Merge "msm: camera: cpp: Add support for CX iPeak limits Management" 2017-03-14 23:45:35 -07:00
Raviteja Tamatam
a1e75564f8 msm: mdss: disable programmable fetch when not in use
During the resolution switch use case where the active resolution
needs prefetch but the new resolution doesnot require it, currently
programmable fetch blocks are not disabled if not in use.

Change-Id: Ib5ea8ef75308132f5530aaf35aaea53858ea94a2
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2017-03-14 23:31:09 -07:00
Subbaraman Narayanamurthy
bda96ffdc0 qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination
After charge termination, recharge SOC might get adjusted, which
is fine. However, if the charger is not removed after charge
termination and SOC drops further down because of a system load,
recharge SOC should not get adjusted again. This can cause
recharging not to begin at the intended SOC threshold. Fix this.

CRs-Fixed: 2018737
Change-Id: I3595c313f84b2ea8c0459c30f294deb8ac4d2866
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-14 13:07:19 -07:00
Sunil Paidimarri
2612086d39 msm: ipa: Hold wakelock on Neutrino offload enable
Hold wakelock on Neturino offload enable and release
it on disable to avoid Apps suspend.

Change-Id: I53e7abf49829159a4b07f9047617268e03162ff9
CRs-Fixed: 1060848
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2017-03-14 10:52:43 -07:00
Prashanth Bhatta
49eaa0d279 icnss: QMI timeout, do not ASSERT when PD down
QMI timeout bound to happen when a request sent over QMI and at
the same time WLAN PD down happens. Add logic to detect PD down
event and do not ASSERT in case WLAN PD down is detected.

Change-Id: I73916ac9040250cdae16fb9c1a2c67df9ef940d3
CRs-fixed: 2017507
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2017-03-14 10:30:41 -07:00
Prasad Sodagudi
99c4750fe5 epoll: Drop struct epoll_event definition
Add kernel header sanitizer check to drop struct epoll_event.
This struct epoll_event is not following the POSIX standard
and defining element in opaque data type.

Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-03-14 09:18:53 -07:00
Sarada Prasanna Garnayak
d44c42832e soc: qcom: qmi: add export symbol qmi_response_type_v01_ei
Fix the symbol linking error for loadable kernel modules
which is using qmi service to communicate with the Q6 processor.

CRs-Fixed: 2017892
Change-Id: Ie5a6bba7387567dbfef0cefdde14b8e0ee6b08e6
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-14 20:24:04 +05:30
Manaf Meethalavalappu Pallikunhi
f5a8350807 ARM: dts: msm: Update more thermal-mitigation levels for PM660
Add more granular thermal-mitigation levels for battery charging
limit based on thermal condition. It helps for steady control
of temperature when charging is enabled.

CRs-Fixed: 2017321
Change-Id: I082d478795b066e61970a7543118b55e7108b594
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-03-14 16:54:43 +05:30
Amit Nischal
2bb28272df clk: qcom: Update ops for esc clock source
Some of the display panels requires various
escape clock frequencies for its operation.
Add support for the same by update esc clock
ops to clk_esc_ops.

Change-Id: I50cb79863cfdf880ba72e73a98905ecd87a08474
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-03-14 10:33:12 +05:30
Amit Nischal
e429572fa3 clk: qcom: Add clk_ops to support runtime frequencies for esc clock
Some of the display panels requires multiple clock frequencies
to be derived runtime from the sources for its operation.
Add support for the same by adding esc clk_ops to calculate
the desired frequency at run time.

Change-Id: Ie3ec84bb1927f5313c887344368dceffb06035be
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-03-14 10:32:46 +05:30
Hemant Kumar
a4df35f9f2 usb: host: xhci: Move LPM support quirk to xhci_plat_quirks
xhci quirks is initialized in xhci_gen_setup() which gets called
from usb_add_hcd(). Since LPM support quirk is ORed to xhci quirk
before calling usb_add_hcd(), quirk gets overwritten. Fix this issue
by moving LPM support quirk to xhci_plat_quirks() which gets called
after xhci quirk is initialized.

Change-Id: I8fb4684d434f098408dddb636b5482cb65b6999a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-03-13 12:13:50 -07:00
Zhen Kong
d0877722a5 firmware: qcom: tz_log: fix reading log issue on secure boot enabled device
Unlike other debug logs, qsee and hyp log buffer are separated from tz
diag region, so it is not necessary to read tz diag region before
reading qsee or hyp logs. Otherwise, when tz diag region is encrypted
and locked on secure boot enabled devices, reading qsee or hyp logs will
cause XPU violation at tz diag region. Also, update the diagnostic table
with some new items.

Change-Id: I2872c4dce876763b5dac5656a982f6ce29cc81f4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-03-13 12:12:55 -07:00
Linux Build Service Account
89bfd053bf Merge "ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630" 2017-03-13 11:50:11 -07:00
Linux Build Service Account
e713a39c4a Merge "HID: Remove playstation4 as special driver" 2017-03-13 11:50:10 -07:00
Linux Build Service Account
b585578838 Merge "regulator: core: Fix voltage change propagations to supply regulators" 2017-03-13 11:50:09 -07:00
Linux Build Service Account
f7aa606b1e Merge "ARM: dts: msm: add rm67195 panel driver for SDM630/SDM660 PM660A QRD" 2017-03-13 11:50:06 -07:00
Linux Build Service Account
b283538d68 Merge "msm: mdss: Add support to update backlight when display commit" 2017-03-13 11:50:05 -07:00
Linux Build Service Account
8d7423e396 Merge "msm: mdss: Disable secure session after Flush for video mode panels" 2017-03-13 11:50:04 -07:00
Linux Build Service Account
ba87e6c3e7 Merge "msm: mdss: fix conditional check for panel LP configuration" 2017-03-13 11:50:02 -07:00
Linux Build Service Account
1dbf7874c4 Merge "msm: mdss: Validate cursor image size" 2017-03-13 11:50:01 -07:00
Linux Build Service Account
df8ad3b00f Merge "ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630" 2017-03-13 11:50:00 -07:00
Linux Build Service Account
824290abe3 Merge "ath10k: Fix TCP TX throttling issue" 2017-03-13 11:50:00 -07:00
Linux Build Service Account
2811cf73a4 Merge "ath10k: Increase the ring size of the CE4 ring" 2017-03-13 11:49:59 -07:00
Linux Build Service Account
e1e5132824 Merge "msm: camera: Remove exit on error conditions for smmu apis" 2017-03-13 11:49:58 -07:00
Linux Build Service Account
b09bf7ca5d Merge "input: touchscreen: remove gt9xx goodix touch driver" 2017-03-13 11:49:58 -07:00
Linux Build Service Account
c705131473 Merge "ARM: dts: msm: removed gpu_dl and wcss tpdm, tpda and funnels for sdm660" 2017-03-13 11:49:56 -07:00
Linux Build Service Account
24a830c773 Merge "mmc: card: block: check the user controlled parameters to avoid overflow" 2017-03-13 11:49:55 -07:00
Venu Yeshala
127c4c22e7 msm: isp: Add support for VFE dual camera resolution limit
Read VFE resolution limitation from VFE fuse register
and restrict support for dual camera resolution.

Change-Id: I5f1c8878bd1039a40c7c8ecc5934757707e0123e
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
2017-03-13 08:20:28 -07:00
Rajesh Yadav
227ac6a42f msm: mdss: Fix hist sum sanity check issue
When dynamic resolution switch is enabled,
it may happen that mixer w/h get updated
for new resolution before hist for last frame
with different resolution is read. This can
lead to sanity check failure for hist sum.
Fix the issue by clearing the current expected
sum and caching sum for next frame.

Change-Id: I93734900770a6c97eac66a412710cae217835693
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
2017-03-13 17:43:38 +05:30
Utkarsh Saxena
7e5e33b416 msm: ipa: Add spinlock to avoid deleting already deleted list
There is a chance of deleting, already deleted list
in ipa_cleanup_wlan_rx_common_cache API.

Protect the wlan_comm_desc_list,
with the spinlock to avoid this deletion.

Change-Id: Ia05d47d7b54540eff6ef20f86dee410152457caa
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-03-13 14:58:40 +05:30
Narender Ankam
8fad32863d msm: mdss: dp: Fix DP display issue during device boot time
If dp driver sends userspace notifications before framework
is ready to receive these events, events are lost, due to which
display issue is observed. This change fixes this issue.

Change-Id: I91eaa824099536a019e084a9665786f0ec4bca1d
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2017-03-13 13:34:16 +05:30
Hemant Gupta
7a160be0dc HID: Remove playstation4 as special driver
Playstation4 needs to be removed as having special hid driver
and needs to be used as generic hid driver because special
hid driver support is not working well.

CRs-Fixed: 2014640
Change-Id: Ibf053717adf043274ad3c4f889e5a88abf17e387
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
2017-03-12 22:33:25 -07:00
Utkarsh Saxena
284c4e80bd ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630
RPM_AGGR2_NOC_CLK is separated out to allow individual voters
could vote on these clocks and voter clock would aggregate the
clock rates.

Change-Id: Ib15499a0025c422786b432a1e98380ce86692e7b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-03-13 10:58:50 +05:30
Charan Teja Reddy
b8c9470476 ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630
Add the proper aggr2_noc voter clock, AGGR2_NOC_SMMU_CLK, for correct
operation of anoc2 SMMU.

Change-Id: I8e9a5a455626f73ea15fbe16dd63b8fc8b26c4f0
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2017-03-12 22:22:38 -07:00
Tirupathi Reddy
f02b26a729 regulator: core: Fix voltage change propagations to supply regulators
Some regulators support get_voltage and some support get_voltage_sel
operations. Do voltage change propagation only when the current
regulator has a minimum dropout voltage specified or if the current
regulator lacks both get_voltage and get_voltage_sel operations.

CRs-Fixed: 2018399
Change-Id: I24cc880d6a61c2cb489897d39a1b63199749c98d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-03-13 10:07:25 +05:30
Divya Ojha
54344baed6 ASoC: codecs: Add PM suspend routines for digital codec
Digital codec soc suspend enables mclk, preventing XO shutdown.
So implement digital codec pm suspend to disable mclk. Add ignore
suspend property to new widgets to resolve powering up and down
during suspend.

Change-Id: I2a773cdfe25d408d95f1c07be71fd4be740e8bf0
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
2017-03-12 06:05:07 -07:00