Commit graph

599819 commits

Author SHA1 Message Date
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
Linux Build Service Account
a1b136f1e0 Merge "defconfig: MSM8998: enable F2FS configs" 2018-06-20 16:52:39 -07:00
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
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
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
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
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
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
Vinayak Menon
34d3a71963 ion: invalidate the pool pointers after free
ion_system_heap_destroy_pools frees the pool, but
does not invalidate the pointer. This can result in
a double free if ion_system_heap_create_pools fails,
and then causes ion_system_heap_create to call into
ion_system_heap_destroy_pools again from the error
path. This can happen in ion_system_heap_create when
one of the secure pool creation fails.

Change-Id: Ic73ca78722aa5a575cc4dd7c1caa560b518094f2
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2018-06-18 13:28:38 +05:30
Linux Build Service Account
2df3743287 Merge "soc: qcom: subsystem_restart: Add checks to verify validity of a device" 2018-06-16 18:58:01 -07:00
Linux Build Service Account
e4340a3ea8 Merge "uio: msm_sharedmem: Add a function to release the shared RAM section" 2018-06-16 18:57:56 -07:00
Linux Build Service Account
d225d1aed1 Merge "usb: gadget: f_cdev: Send zero length packets in modem data calls" 2018-06-16 18:57:53 -07:00
Linux Build Service Account
899380f9bb Merge "i2c-msm-v2: Add NULL pointer check for DMA descriptor" 2018-06-16 18:57:47 -07:00
Anant Goel
a6672f6af9 soc: qcom: subsystem_restart: Add checks to verify validity of a device
Extra checks are added to ensure a subsystem device is valid before
accessing any of its fields.

Change-Id: Ia8e3dced005485b1edb5d6ccf9429f90d31fa613
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-06-15 13:32:42 -07:00
Anant Goel
205812e0fc uio: msm_sharedmem: Add a function to release the shared RAM section
A function to free the shared RAM section has been added to the
msm_sharedmem driver. This function is needed to free the RAM section
on shutdown of the msm_sharedmem driver. The function is called on
the shutdown command for the driver.

Change-Id: Iff04f93d380664c5e3df9b0cd575cf9e6300ea39
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-06-15 12:19:56 -07:00
Linux Build Service Account
69f3e88c6c Merge "nl80211: fix nlmsg allocation in cfg80211_ft_event" 2018-06-15 10:28:13 -07:00
Linux Build Service Account
4fb9f9a7b7 Merge "mmc: host: msm: Don't check for core-dll lock during hs400es dll init" 2018-06-15 10:28:12 -07:00
Linux Build Service Account
e931ea69a1 Merge "msm: ADSPRPC: handle 32 bit support" 2018-06-15 10:28:02 -07:00
Linux Build Service Account
ae6b75092d Merge "soc: qcom: hab: add support for multiple hypervisors" 2018-06-15 10:28:01 -07:00
Linux Build Service Account
9963b625f3 Merge "packet: fix race condition in packet_set_ring" 2018-06-15 10:28:00 -07:00
Zhu Jianmin
df55603b24 nl80211: fix nlmsg allocation in cfg80211_ft_event
Allocation size of nlmsg in cfg80211_ft_event is based on ric_ies_len
and doesn't take into account ies_len. This leads to
NL80211_CMD_FT_EVENT message construction failure in case ft_event
contains large enough ies buffer.
Add ies_len to the nlmsg allocation size.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 1039d08100e58f016a814347baadb77bf8dd21ab
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I224ac6113e4b15958f3b155982ff5cf84ff9ed74
CRs-Fixed: 2207276
Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Zhu Jianmin <jianminz@codeaurora.org>
2018-06-15 04:37:17 -07:00
Linux Build Service Account
53c73b7190 Merge "ARM: dts: msm: Add GPU maximum frequency 585Mhz support for SDM660-Lite" 2018-06-15 03:06:21 -07:00
Linux Build Service Account
51b2f06de2 Merge "ASoC: msm: qdsp6v2: add lsm support for tdm ports" 2018-06-15 03:06:20 -07:00
Linux Build Service Account
f8c3bac9ce Merge "ASoC: msm: qdsp6v2: Rx DTMF detection via voice stream callback" 2018-06-15 03:06:19 -07:00
Gerrit - the friendly Code Review server
37805d9fef Merge changes into msm-4.4 2018-06-15 02:27:22 -07:00
Linux Build Service Account
f73a388a11 Merge "ARM: memory hotplug: stop cpus while memory hotplug" 2018-06-14 16:07:08 -07:00
Linux Build Service Account
0d3fe1e8bf Merge "Merge remote-trac king branch 'origin/caf/invensense/master' into msm-4.4" 2018-06-14 16:07:08 -07:00
Linux Build Service Account
06872e732f Merge "power: battery: Add support for FCC stepping" 2018-06-14 16:06:55 -07:00
Linux Build Service Account
f9a1c8211f Merge "ASoC: qdsp6v2: Fix null pointer dereference for prtd pointer" 2018-06-14 16:06:54 -07:00
Linux Build Service Account
a0e118cf53 Merge "msm: ipa: Fix race condition head_desc_list variable access" 2018-06-14 16:06:52 -07:00
Umang Agrawal
491b7aff28 power: battery: Add support for FCC stepping
On some PMIC designs a sudden increase or decrease in FCC
can impact the PMIC die thermally, causing the XO to drift.
Introduce a logic which gradually ramps up/down the FCC
whenever there is a change in its value, this spreads out
the thermals over-time. The default step rate is 100mA/sec
and the feature can be enabled using the DT property
"qcom,fcc-stepping-enable".

Change-Id: I59ee932b60766208912054f7031cd34151fb5deb
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
2018-06-14 15:53:57 +05:30
Venkata Rao Kakani
42cadd5165 ARM: memory hotplug: stop cpus while memory hotplug
Avoid page table corruptions during memory hotplug by
stopping all other cpus.

Change-Id: I527a616c5603b882a43626c746ef0b4dda977202
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-06-14 03:13:02 -07:00
Ashay Jaiswal
eafe2f3d08 power: power_supply: add property for FCC stepper
Add power_supply property POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE
which reports the state of FCC stepped feature.

Change-Id: Ibbb6e6fa7bba6b804a94bb93ddc75e5dfe0afdd1
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2018-06-14 15:29:34 +05:30
Shrey Vijay
f5634d1c91 i2c-msm-v2: Add NULL pointer check for DMA descriptor
Add NULL pointer check for RX/TX DMA descriptors to avoid
NULL dereference.

Change-Id: I71443204e79eb1afc37a6b312cf4aa9adcaa22c6
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
2018-06-14 02:03:26 -07:00
Puneet yatnala
39fad015bb Merge remote-trac king branch 'origin/caf/invensense/master' into msm-4.4
* origin/caf/invensense/master:
  MA Lite 8.1.5
  MA Lite 8.1.4a

Change-Id: I7667000896f2d3de0acba83b4020bb3bdd34b248
Signed-off-by: Puneet yatnala <puneet@codeaurora.org>
2018-06-14 12:53:39 +05:30
Vatsal Bucha
b9e306af63 ASoC: qdsp6v2: Fix null pointer dereference for prtd pointer
Private data pointer may not be initialized before
access it in adsp_stream_cmd_put. NULL check for prtd
avoids the issue.

CRs-Fixed: 2252497
Change-Id: Ibd888be601d5b42ed4f4644ed22596a26b61f8fe
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-06-13 22:59:54 -07:00