Commit graph

599852 commits

Author SHA1 Message Date
Linux Build Service Account
946085b74b Merge "soc: qcom: hab: make LA compilation pass" 2018-06-23 05:19:49 -07:00
Linux Build Service Account
54c090b1ed Merge "ARM: dts: msm: Enable Control Path and mixer preference on msm8996" 2018-06-23 05:19:48 -07:00
Linux Build Service Account
7b1f90835b Merge "drm: msm: sde: remove user commit validity check" 2018-06-23 05:19:46 -07:00
Linux Build Service Account
ae5f5a5335 Merge "msm: sde: Add mutex unlock for debug buffer access in rotator" 2018-06-23 05:19:45 -07:00
Linux Build Service Account
dae9acbb05 Merge "DRM: SDE: Independent control of left/right global PA" 2018-06-23 05:19:43 -07:00
Linux Build Service Account
947f0ec349 Merge "DRM: SDE: Update Color API implementation" 2018-06-23 05:19:42 -07:00
Chao Bi
50c959b25e soc: qcom: hab: make LA compilation pass
Due to GCC problem
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119),
it cause a warning in hab test code, this patch is a workaround
to avoid this warning. This can be reverted once the GCC issue is fixed.

Change-Id: I4d01920ef36cb42bae4dd9f331c518a38dfd9a5a
Signed-off-by: Chao Bi <chaobi@codeaurora.org>
2018-06-21 17:07:05 -04:00
Linux Build Service Account
318dc882ca Merge "diag: Enhance IPC logging for diag CNTL channel" 2018-06-21 13:37:50 -07:00
Linux Build Service Account
dc0fcde6ce Merge "ARM: memory hotplug: stop cpus while memory hotremove" 2018-06-21 13:37:49 -07:00
Linux Build Service Account
3850f31471 Merge "mmc: block: Don't unhalt if switch to CQ mode fails" 2018-06-21 13:37:48 -07:00
Linux Build Service Account
daa592e855 Merge "ASoC: msm: Support different POPPs to single COPP" 2018-06-21 13:37:46 -07:00
Linux Build Service Account
f0cb574d3b Merge "ARM: dts: msm: Untrusted pointer dereference" 2018-06-21 13:37:43 -07:00
Linux Build Service Account
ea54b9e530 Merge "diag: Add NULL pointer check for write buffer of fwd_info" 2018-06-21 13:37:40 -07:00
Linux Build Service Account
71277408de Merge "power:hibernate: KPI marker for Hibernation Success" 2018-06-21 04:04:09 -07:00
Linux Build Service Account
45b407c93a Merge "msm: ipa: Fix unlock spinlock in failed condition" 2018-06-21 04:04:08 -07:00
Linux Build Service Account
b60fb8e724 Merge "ASoC: msm: qdsp6v2: Fix rtac memory unmap issue in ASM driver" 2018-06-21 04:04:07 -07:00
Linux Build Service Account
8164a41508 Merge "ASoC: msm: qdsp6v2: Fix return code check in adm driver" 2018-06-21 04:04:06 -07:00
Linux Build Service Account
9b81f1aebb Merge "ASoC: msm: qdsp6v2: Fix AFE RTC set parameter" 2018-06-21 04:04:05 -07:00
Linux Build Service Account
726eec8d0e Merge "sdm660-internal: Fix DMIC3&4 mute in voice call during APSS sleep" 2018-06-21 04:04:04 -07:00
Linux Build Service Account
08471334bf Merge "msm: msm_bus: Fix error handling in msm_bus_device_init" 2018-06-21 04:03:33 -07:00
Venkata Rao Kakani
ebef173049 ARM: memory hotplug: stop cpus while memory hotremove
Avoid page table corruptions during memory hotremove by
stopping all other cpus.

Change-Id: If4084768044dd95601bdc5993d14bc6b0a5921c3
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-06-21 03:44:06 -07:00
Asutosh Das
2daa49b1a8 mmc: block: Don't unhalt if switch to CQ mode fails
There's no reason to unhalt if switching to CQ mode fails.
Since card is not in CQ mode, let the controller be halted.
The caller will handle this error.

CRs-fixed: 2241401
Change-Id: I307753ad66d291168a55f760565cc141d7c83c31
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2018-06-21 01:55:42 -07:00
Linux Build Service Account
a1b136f1e0 Merge "defconfig: MSM8998: enable F2FS configs" 2018-06-20 16:52:39 -07:00
Atul Raut
cdf56b7d01 power:hibernate: KPI marker for Hibernation Success
Add KPI Marker for hibernation failure and success
needed for perf image.

Change-Id: I90a4e503c75ccb1d0edb3d26f7f8d5f08dafe95e
Signed-off-by: Atul Raut <araut@codeaurora.org>
2018-06-20 12:27:10 -07:00
Manoj Prabhu B
ecb6422b59 diag: Enhance IPC logging for diag CNTL channel
The patch enables to track the control channel buffer
status, reception of feature mask and error case of
not queueing a read on socket by use of debug logs.

Change-Id: Ibd9bd9a09f6519e31874f8794df3df875e931d25
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-06-20 21:06:11 +05:30
Mohammed Javid
7770ea4a7c msm: ipa: Fix unlock spinlock in failed condition
'Commit id I427374ef44 ("msm: ipa: Fix race condition
head_desc_list variable access")' broke unlock spinlock
in failed scenarios. Added changes to fix the issue.

Change-Id: I0f7dddfa7a583a8ebd8c1e6a610ab204726d5bc1
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-06-20 11:37:31 +05:30
Linux Build Service Account
2386158c7b Merge "soc: qcom: hab: clean the compilation issues" 2018-06-19 22:04:18 -07:00
Linux Build Service Account
9cc0ccd7af Merge "soc: qcom: hab: return -EINTR if woken up by a signal" 2018-06-19 22:04:16 -07:00
Yunyun Cao
8ddec64b62 msm: sde: Add mutex unlock for debug buffer access in rotator
mutex lock should be unlocked before returning if the offset is not right.

Change-Id: I11945696d2c4078c28266312915837a812fedcc8
Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
2018-06-19 20:35:00 -07:00
Linux Build Service Account
467469229d Merge "ion: invalidate the pool pointers after free" 2018-06-19 08:12:58 -07:00
Linux Build Service Account
93285f1e8f Merge "devfreq: suppress platform driver bind / unbind feature" 2018-06-19 08:12:57 -07:00
Linux Build Service Account
73596ff804 Merge "asoc: codecs: sdm660_cdc: Fix LPASS register access during SSR" 2018-06-19 08:12:55 -07:00
Linux Build Service Account
cd77641c8d Merge "ais: support frame drop configuration for auto" 2018-06-19 08:12:53 -07:00
Aditya Bavanari
e4f474eb8e ASoC: msm: qdsp6v2: Fix AFE RTC set parameter
Fix offset address to use set parameter structure while
copying data from user instead of get parameter structure
for AFE_PORT_CMD_SET_PARAM_V3 case.

CRs-Fixed: 2256728
Change-Id: I61e41f366f365734a47080b79179fbe3021ee8a7
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-06-19 19:01:12 +05:30
Aditya Bavanari
04708e34ee ASoC: msm: qdsp6v2: Fix rtac memory unmap issue in ASM driver
During unmap of rtac block in ASM, mem_map_handle
address is set to zero instead of the value. Set the
map handle value to zero to avoid issue in freeing the
ion memory.

CRs-Fixed: 2254339
Change-Id: I6584be029d4c8dde235e722149c758df0db9916e
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-06-19 17:50:52 +05:30
Vatsal Bucha
f57e402a5a sdm660-internal: Fix DMIC3&4 mute in voice call during APSS sleep
Add ignore sleep for DMIC 3 and 4 to fix mute in voice call.

CRs-Fixed: 2258957
Change-Id: Ia33aec6796e965080a978d3e158d78ae03f9b717
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-06-19 05:15:02 -07:00
Aditya Bavanari
c966bc9cff ASoC: msm: qdsp6v2: Fix return code check in adm driver
Return error only if apr_send_pkt() function
return code is less than 0.

CRs-Fixed: 2262017
Change-Id: I98903c6c275f360d32c3af523352071d92d1ef85
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-06-19 17:31:10 +05:30
Ziqi Chen
0440061128 defconfig: MSM8998: enable F2FS configs
Enable F2FS related configs for MSM8998.

Change-Id: Id52e93ee54e65e558a21a9280456f05b0c9bf9c5
Signed-off-by: Ziqi Chen <ziqichen@codeaurora.org>
2018-06-19 19:37:06 +08:00
Yong Ding
3a1f559efa soc: qcom: hab: clean the compilation issues
This fixes the hab compilation issues found when
CONFIG_GHS_VMM is enabled.

Change-Id: Ie4b6aca5f0a7f549273d939dd6069e55db7877c4
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-06-19 01:56:29 -07:00
Yong Ding
333c319df3 soc: qcom: hab: return -EINTR if woken up by a signal
The standard -EINTR will be returned if the hab open
blocking call is woken up by a signal.

Change-Id: I0329c3b3a70241a31a64eab6872808e0f7d21013
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-06-19 01:54:02 -07:00
Linux Build Service Account
d146f75a7e Merge "ARM: dts: msm: Add support for truly FHD+ panel on SDM660" 2018-06-19 01:28:13 -07:00
Santosh Mardi
818f86d78d devfreq: suppress platform driver bind / unbind feature
For arm-memlat and bimc-hwmon platform driver does not
support the manual bind / unbind feature through sysfs,
when the governor is registered and started.
Suppress the bind / unbind calls using driver attribute.

Change-Id: I8287012e1e6931d80953382f3d625223315cec85
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2018-06-19 11:25:37 +05:30
Soumya Managoli
586a6ad358 asoc: codecs: sdm660_cdc: Fix LPASS register access during SSR
When AFE returns failure in setting the digital codec
core clock during SSR, it leads to LPASS register access
which results in NOC error and AHB timeout. Put the regmap
in cache only mode when clock enable fails to fix this.

Also fix watchdog bite failure during stability run
by returning from digclock control if cacheonly mode
is set. This is seen while SSR is in progress and teardown
of session happens, it will request for afe clock enable
continuously at digital clock control.

Change-Id: I952b667a5cffcb667154378102609b23ab0cee3d
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-06-18 22:29:38 -07:00
Monika Singh
ed7b89c970 ARM: dts: msm: Untrusted pointer dereference
To avoid access of variable after being freed, using
list_first_entry_safe function to iterate over list
of given type, safe against removal of list entry.

Change-Id: I70611fddf3e9b80b1affa3e5235be24eac0d0a58
Signed-off-by: Monika Singh <monising@codeaurora.org>
2018-06-18 22:20:55 -07:00
Cong Tang
c1bed40d2d ASoC: msm: Support different POPPs to single COPP
For multi COPP feature it could only allow POPPs with same app_type
to connect single COPP. But it's possible to connect different POPPs
with different app_type to single COPP, to achieve this, it should
skip the app_type check when create copp_idx.

Change-Id: Ic8d7c63d317baba09768d08bc723a6b097322f63
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-06-18 20:54:41 -07:00
Andy Sun
ab4b239854 ais: support frame drop configuration for auto
Set hardware frame drop config in the start_stream().
New command for user to set frame drop during streaming.

Change-Id: I523c96366ebbe6d664262e66d3bf7ee2d1b28ee3
Signed-off-by: Andy Sun <bins@codeaurora.org>
2018-06-19 11:07:00 +08:00
Linux Build Service Account
753ed36d6a Merge "ASoC: apr: Add separate initial boot flag for ADSP and Modem" 2018-06-18 16:40:17 -07:00
Camus Wong
daf3fdb4aa DRM: SDE: Independent control of left/right global PA
In the split display use case that has two DSPPs, we enabled the caller
to have different global PA value for each DSPP.

Change-Id: Ie19a48229a07e39fe20a5626aa18c065ad9946d6
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-06-18 15:47:10 -07:00
Soumya Managoli
62d95ed05b ASoC: apr: Add separate initial boot flag for ADSP and Modem
apr ignores initial PDR_DOWN event from ADSP/Modem during
boot up. ADSP_DOWN event is wrongly sent to audio drivers
during boot up if it gets MODEM_UP event before ADSP_DOWN.

Added separate flags for both ADSP and Modem events to avoid
this issue.

CRs-Fixed: 2232315
Change-Id: I2c6084ac03e3867009f36be36631f881124f59ba
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-06-18 04:48:09 -07:00
Srinivasa Rao Kuppala
2763b994a1 sound: rawmidi: Move spinlock under realloc_mutex
A merge conflict resolution of commit e57f781805f0 ("ANDROID: sound:
rawmidi: Hold lock around realloc") placed a realloc_mutex lock
inside of a runtime->lock irq spinlock. The mutex lock has to
encompass the spinlock to avoid attempts to sleep in an invalid
context.

Change-Id: I29723c5623db3b7145644f941ccc5226e3764f08
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
2018-06-18 03:42:54 -07:00