Commit graph

583651 commits

Author SHA1 Message Date
Sungjun Park
d28b85777a bluetooth: Fix slimbus shutdown sequence
During slimbus shutdown process, registered codec
driver callback has been implemented in wrong seqeunce.
So, it causes audio data overflow and impact on next
audio streaming. To correct the sequence, slimbus port
disable routine should be performed when WCN codec shutdown
callback is called.

Change-Id: Id6ef22c34066adbb5b28bc31e605776c467bf03c
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2017-02-24 12:04:27 -08:00
Linux Build Service Account
98094e2149 Merge "ath10k: fix copyright year for copy engine driver" into msm-4.4 2017-02-24 11:52:13 -08:00
Prasad Sodagudi
f522e34fed defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag.
Eneable config ARM64_STRICT_BREAK_BEFORE_MAKE flag to detect
break-before-make violations in set_pte and print a warning.

Change-Id: I6401e447f5b2e4ddde666fe4f0a7ff7c01a32b44
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-24 09:42:53 -08:00
Will Deacon
2845235d53 arm64: mm: allow enforcing of strict break-before-make for page tables
The ARM ARM strongly recommends using break-before-make when updating
page table entries in the following circumstances:

  * A change of the memory type.
  * A change of the cacheability attributes.
  * A change of the output address (OA), if the OA of at least one of
    the old translation table entry and the new translation table entry
    is writable.

This patch adds a debug option to the kernel so that we can detect
break-before-make violations in set_pte and print a warning.

Change-Id: I038fd175d880355419b0795bf9967efea767e681
Git-commit: 07eea9d556ab76995119f0d034cf5f8280be278f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-24 09:42:33 -08:00
Jordan Crouse
e156e57d83 drm/msm: Add BACKLIGHT_CLASS_DEVICE as a dependency
One of the SDE files requires BACKLIGHT_CLASS_DEVICE so make sure it
gets selected in the Kconfig.

Change-Id: Ic0dedbadc5bca3ea536d94d54e3683d656bd4aba
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-24 08:58:54 -07:00
Sujeev Dias
cfd091a9bb ARM: dts: msm: mhi_uci: Enable MHI TF Channels
Enable MHI TF channels 22, and 23 for
unit testing.

CRs-Fixed: 1024980
Change-Id: I38a01b25fdd3b4b330e0925cb762ec9747b31fa4
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-24 07:39:03 -08:00
Laxminath Kasam
b05d6bd9aa ASoC: msm: Update configs for speaker protection on sdm660
In speaker protection config, default setting uses
4 channels for RX. Update INT4_MI2S hostless session
config with 4 channels to match with speaker protection
config and avoid hw params failure.
As soundwire codec VI sense capture can support
8k and 48k sampling rates, use 48k sample rate as
V/I sense data captured is in sync with playback data
with this sampling rate.

CRs-Fixed: 2003278
Change-Id: I60e3a541096658e28862de70f59ee11b119e37ce
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:39:53 +05:30
Laxminath Kasam
ac0a983dae ASoC: msm_sdw: Add 48k TX VI sense sampling rate support
To capture VI sense from soundwire codec to LPASS AFE,
add 48k sampling rate support. Currently 8k sampling rate
record from soundwire codec to LPASS AFE shows distorted
data. Fallback to use 48k sampling rate which is supported
from soundwire codec and LPASS AFE speaker protection module
and V/I sense captured is in sync with playback data.

CRs-Fixed: 2003278
Change-Id: Ibb266094e288cc9341f5da7f569e07e9ae8d03df
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:34:53 +05:30
Laxminath Kasam
b7f73d188d ASoC: wsa881x: Add retry logic for temperature read
When temperature read happens, swr logical address
query failing sometimes and next retry is successful.
Add retry logic to handle this.
Also, temperature result can be out of range,
add retry of 3 attempts with 20ms gap to handle this.

CRs-Fixed: 2003278
Change-Id: Ie1b91d181e07d293864ea82d8b09419cc32e0854
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-24 19:34:46 +05:30
Tirupathi Reddy
844f4ec03b clk: qcom: osm: program SEQ_REG32 unconditionally
Program SEQ_REG32 unconditionally with the L_VAL corresponding to
the first virtual corner with MEM ACC level 3.

CRs-Fixed: 2011483
Change-Id: I3b8a5bed2c78f0f5f3aae22c4a58c57b75ddf3bb
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-24 18:11:20 +05:30
Amit Nischal
7d08417887 clk: msm: clock-mmss-8998: Update frequency plan for byte/pixel clock
The byte and pixel clock max frequency level has been updated to new
values, so update the same.

Change-Id: I5451c03b29a3b28e7363923896bc4836dbcd6e61
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-02-24 17:42:52 +05:30
Deepak Kumar
e5f964228d msm: kgsl: Use init_utsname() instead of ustname() for kernel build info.
Using per uts namespace utsname() for kernel build information section
in snapshot dump was causing a kernel panic because it is accessing a
NULL nsproxy pointer. nsproxy was null because corresponding user task
got SIGKILL which triggered call to free_nsproxy. The patch fixes the
issue by using the global init_utsname() which is always valid.

Change-Id: I13b1b07557794a7fcedf0c9e6acfd3406fbb8989
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-02-24 12:06:16 +05:30
Rakesh Pillai
badbe74a32 ath10k: fix copyright year for copy engine driver
Revert back the copyright year of third party file.

CRs-Fixed: 2009450
Change-Id: I2ca345632c70bc6b795ae6197663be68599eb0c4
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-23 21:43:40 -08:00
Linux Build Service Account
f419890fd6 Merge "smb138x: support ship mode" 2017-02-23 21:36:01 -08:00
Linux Build Service Account
4a493082aa Merge "drm/msm: mdp5: Correctly return ERR_PTR for mdp5_cfg_init" 2017-02-23 21:36:00 -08:00
Linux Build Service Account
2cd7103b29 Merge "msm: ipa3: halt modem channels as part of SSR" 2017-02-23 21:35:59 -08:00
Linux Build Service Account
c110184f50 Merge "msm: gsi: add support for generic commands" 2017-02-23 21:35:58 -08:00
Linux Build Service Account
53d85c3a8f Merge "ARM: dts: msm: enable watchdog for sdm630" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
d3462b2761 Merge "drivers: dma-removed: page align size on free" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
e1ddced4d7 Merge "defconfig: add cti config with save-restore disable for perf of sdm660" 2017-02-23 21:35:55 -08:00
Linux Build Service Account
b1fe14f458 Merge "ARM: dts: msm: Add LMH DCVSh mitigation support for KTM for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
66e280eb07 Merge "ARM: dts: msm: Enable LMH DCVSh driver for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
17ec241c6c Merge "soc: qcom: pil: Clear elf region on authentication failure" 2017-02-23 21:35:53 -08:00
Linux Build Service Account
9c2a8d5241 Merge "supply: qcom: battery: re-split FCC when ICL changes" 2017-02-23 21:35:52 -08:00
Linux Build Service Account
970eca3801 Merge "msm: mink: Separate out transport and client error" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
2dd610f4a0 Merge "ARM: dts: msm: enable SSC based sensors for SDM630 MTP/CDP" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
61284d06be Merge "ARM: dts: msm: Add SMB1351 device node for SDM660 QRD" 2017-02-23 21:35:50 -08:00
Linux Build Service Account
4c57c4181c Merge "ARM: dts: msm: changing memlat vote for min freq on SDM660" 2017-02-23 21:35:49 -08:00
Linux Build Service Account
4da238cbed Merge "ARM: dts: msm: Add touch device node for HDK835" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
791f50a09d Merge "ARM: dts: msm: Enable support for GLINK QOS feature on msm8998" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
f701481cfb Merge "MMC : card: check for card status incase of timeout error" 2017-02-23 21:35:47 -08:00
Linux Build Service Account
69bf85c82b Merge "ARM: dts: msm: add reg bus scale properties for sdm660 and sdm630" 2017-02-23 21:35:46 -08:00
Linux Build Service Account
67329e61e2 Merge "ARM: dts: msm: Update fuse corners supported for APC0/1 CPR for sdm630" 2017-02-23 21:35:45 -08:00
Linux Build Service Account
1569b17292 Merge "ARM: dts: msm: Add support for audio over USBC for SDM630" 2017-02-23 21:35:44 -08:00
Linux Build Service Account
4d40908715 Merge "ASoC: msm: qdsp6v2: Add INT3_MI2S interface for Source tracking" 2017-02-23 21:35:43 -08:00
Linux Build Service Account
0bb941eaed Merge "ASoC: codecs: Enable SSR for internal codec and WSA" 2017-02-23 21:35:42 -08:00
Linux Build Service Account
7e9aac208a Merge "ARM: dts: msm: Add routing controls for sdm660 internal codec" 2017-02-23 21:35:41 -08:00
Linux Build Service Account
60ebf2023c Merge "drm/msm: add support for 5V HPD pin for msm8998" 2017-02-23 21:35:36 -08:00
Linux Build Service Account
64190381d8 Merge "drm/msm: enable hpd event support for hdmi display" 2017-02-23 21:35:36 -08:00
Linux Build Service Account
6687ca759c Merge "drm/msm: add sde io util API support" 2017-02-23 21:35:35 -08:00
Linux Build Service Account
e2ef4360ab Merge "drm/sde: add support for customized mode" 2017-02-23 21:35:35 -08:00
Linux Build Service Account
097072f230 Merge "ARM: dts: msm: include SDE DTSI for MSM8998" 2017-02-23 21:35:34 -08:00
Linux Build Service Account
43de29b084 Merge "ARM: dts: msm: rename mdss_mdp to sde_kms and add HDMI TX device node" 2017-02-23 21:35:33 -08:00
Linux Build Service Account
e042032335 Merge "mhi: core: Add support for new MHI hardware channel" 2017-02-23 21:35:28 -08:00
Linux Build Service Account
9902e5e865 Merge "drm/msm: Get object iova from correct address space" 2017-02-23 21:35:15 -08:00
Linux Build Service Account
52f45fc339 Merge "drm/msm: Mark the microcode buffers as read-only" 2017-02-23 21:35:14 -08:00
Linux Build Service Account
f7e36cc621 Merge "drm/msm: Come out of secure before executing GPMU initialization" 2017-02-23 21:35:12 -08:00
Linux Build Service Account
ef49b42e4a Merge "drm/msm: Get and enable the IOMMU clocks" 2017-02-23 21:35:09 -08:00
Linux Build Service Account
fb98e68c1c Merge "drm/msm: Add hint to DRM_IOCTL_MSM_GEM_INFO to return an object IOVA" 2017-02-23 21:35:07 -08:00
Linux Build Service Account
b7ea8035cf Merge "msm: mdss: Install sync fences after user copy" 2017-02-23 21:35:06 -08:00