Commit graph

590290 commits

Author SHA1 Message Date
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
Linux Build Service Account
38814e7f31 Merge "ASoC: msm: qdsp6v2: Add 144k sample rate to compress driver" 2017-05-26 06:31:11 -07:00
Linux Build Service Account
50ef4cd0a6 Merge "ASoc: msm: Support SEC_MI2S_TX Port ASM Loopback" 2017-05-26 06:31:09 -07:00
Linux Build Service Account
3daa107c23 Merge "ASoc: msm: Add dai link MultiMedia20 for custom card" 2017-05-26 06:31:07 -07:00
Linux Build Service Account
4267fd253d Merge "usb: gadget: Fix synchronization issue between f_audio_source" 2017-05-26 06:31:06 -07:00
Linux Build Service Account
b52ce7f7b9 Merge "msm: kgsl: Update QoS settings for A508 VBIF as recommended" 2017-05-26 06:31:06 -07:00
Linux Build Service Account
5db69d4782 Merge "ais: increase CCI timeout value to 600 msec" 2017-05-26 06:31:05 -07:00
Linux Build Service Account
87d91c5565 Merge "ARM: dts: msm: add clock-cntl-support for msm8996 ispif" 2017-05-26 06:31:03 -07:00
Linux Build Service Account
d469953378 Merge "ARM: dts: msm: correct voltage range values for msm8996 ADP camera" 2017-05-26 06:31:02 -07:00
Linux Build Service Account
fabfb34ce9 Merge "irqchip: gic(-v3): Mask PPIs during disable_percpu_irq()" 2017-05-26 06:31:01 -07:00
Linux Build Service Account
86552b6a63 Merge "ASoC: msm: Convert ALSA to ADSP format" 2017-05-26 06:30:48 -07:00
Linux Build Service Account
3ac136c40b Merge "drm/msm: profile submit_time in nanosecond resolution" 2017-05-26 06:30:47 -07:00
Derek Chen
a73c05b997 ASoC: msm: Enable use of noirq playback and capture
Enable use of noirq (i.e pull mode and push mode)
playback and capture.

Change-Id: I139406a20ea4c52d585e941f64a5ffda9c830310
CRs-fixed: 2049744
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2017-05-26 06:26:03 -07:00
Lynus Vaz
5ea16d78cc msm: kgsl: Deal with a NULL pointer when creating default pagetable
Return an appropriate error code if the default pagetable is NULL.

Change-Id: Ic88b066c40a8f840d95fd3fbc9ee9274c428b66a
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
2017-05-26 05:37:37 -07:00
Hareesh Gundu
92ef644eb6 adreno_tz: Remove unnecessary devfreq NULL check in tz_handler()
Caller of tz_handler() is having the NULL check for devfreq,So
we don’t need unnecessary NULL pointer check.

CRs-Fixed: 2046922
Change-Id: I42eb70ab19b4a5af193521d77bca86447a1ecdb8
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2017-05-26 17:44:28 +05:30
ChandanaKishori Chiluveru
a510e932e4 usb: gadget: Fix synchronization issue between f_audio_source
Race is happening when both audio_pcm_close() and audio_send()
executes in parallel.
When the PCM session is closed, the substream attribute of the
audio_dev structure is set to NULL in audio_pcm_close().
As there is no synchronization protection for the audio_dev subtream
attributes in audio_send(), it is causing NULL pointer dereference.
Hence fixing the issue by adding proper synchronization protection
for the audio_dev subtream attributes in audio_send().

CRs-Fixed: 613498
Change-Id: Id9ab0d4e347b8bb2f551f9033829e541bdcaf0e8
Signed-off-by: ChandanaKishori Chiluveru <cchilu@codeaurora.org>
Signed-off-by: Tarun Gupta <tarung@codeaurora.org>
2017-05-26 03:29:37 -07:00
Udaya Bhaskara Reddy Mallavarapu
3bf3c6154d media: dvb-core: Fix possible buffer overflow error
Added check to avoid buffer overflow error.

CR's-Fixed: 2043689
Change-Id: I38dd770e0b469dd3ccce3339d7c46957c012cbdd
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
2017-05-26 15:53:15 +05:30
Aditya Bavanari
6e4097cd62 ASoC: wcd934x: Add support to restore IIR coefficients after power collapse
Reduce the latency of device switch during voice call by caching
IIR Band registers at bootup and restore them in
tavil_dig_core_remove_power_collapse instead of updating
through mixer controls from userspace.

Change-Id: I87b41801d5f174f5fb11917a359635e91c04d05d
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2017-05-26 13:14:31 +05:30
Deepak Kumar
7490d55401 msm: kgsl: Use per page cache operation instead of bulk cache operation
For any cache operation, the current code tries to map all pages to the
kernel using vmap in case sg table is not available and then performs
the requested cache operation. If vmap fails because of memory crunch
ioctl just returns failure.

This change avoids using vmap and performs per page cache operation
even when sg table is not available. This is done to avoid failures
because of vmap especially on 32 bit systems.

Change-Id: I123b46e6a55a62cbf934ab6a2a49dcd1f0d4c7d4
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-05-26 12:55:07 +05:30
Linux Build Service Account
a2ab165607 Merge "genirq: Use irq_set_affinity_locked to change irq affinity" 2017-05-26 00:10:43 -07:00
Linux Build Service Account
18c1ad4d51 Merge "mmc: core: retune after un-gating the clocks" 2017-05-26 00:10:42 -07:00
Linux Build Service Account
22412a0523 Merge "icnss: Free regread buffer before allocating new one" 2017-05-26 00:10:41 -07:00
Linux Build Service Account
4fae1bf22a Merge "ARM: dts: msm: Change version bit to match TP 800S used for HDK660/630" 2017-05-26 00:10:40 -07:00
Linux Build Service Account
88d0f2244b Merge "ARM: dts: msm: add proxy voter for QRD SDM660" 2017-05-26 00:10:39 -07:00
Linux Build Service Account
c78cb70a36 Merge "ARM: dts: msm: configure interrupt types for charger for pm660" 2017-05-26 00:10:38 -07:00
Linux Build Service Account
12896a6fc6 Merge "mmc: core: extend SDR104 workaround for other paths" 2017-05-26 00:10:37 -07:00
Linux Build Service Account
f5b9a7e270 Merge "icnss: create debugfs entries when CONFIG_ICNSS_DEBUG is enabled" 2017-05-26 00:10:35 -07:00
Linux Build Service Account
66a27a3a8f Merge "mhi: core: fix potential buffer overflow" 2017-05-26 00:10:34 -07:00
Linux Build Service Account
aa6325414f Merge "usb: pd: policy_engine: Disable vconn first upon disconnect" 2017-05-26 00:10:34 -07:00
Linux Build Service Account
761009ddd7 Merge "defconfig: msmcortex: Enable hardened user copy" 2017-05-26 00:10:33 -07:00
Linux Build Service Account
bd5238c5e7 Merge "cnss: save the cc source to platform driver" 2017-05-26 00:10:30 -07:00
Linux Build Service Account
c5a3a7fe46 Merge "Revert "arm: cpu: read all address cells in dt for cpuid"" 2017-05-26 00:10:29 -07:00
Linux Build Service Account
7d371c9315 Merge "soc: qcom: glink: Add new APIs to toggle RX thread priority" 2017-05-26 00:10:29 -07:00
Linux Build Service Account
5c161901b2 Merge "ASoC: msm: qdsp6v2: set voc type according to stream type" 2017-05-26 00:10:28 -07:00
Linux Build Service Account
cf2d68fe6a Merge "msm: pcie: add IOMMU_DEVICE for MMIO mapping" 2017-05-26 00:10:27 -07:00
Linux Build Service Account
a24cba4428 Merge "drm/msm: add irq mapping for cec in hdmi driver" 2017-05-26 00:09:47 -07:00
Linux Build Service Account
03da53eca2 Merge "msm_11ad: define ops_keep_radio_on_during_sleep as static" 2017-05-26 00:09:47 -07:00
Linux Build Service Account
34672d4fb7 Merge "ARM: dts: msm: add audio support for HDK660/630 boards" 2017-05-26 00:09:46 -07:00
Linux Build Service Account
187608370f Merge "soc: qcom: msm_bus: add rt mutex lock for cllist data" 2017-05-26 00:09:45 -07:00
Linux Build Service Account
7e32d73762 Merge "ARM: dts: msm: Specify SC interrupts for LAB/IBB in pmi8998" 2017-05-26 00:09:43 -07:00
Linux Build Service Account
b56ec29b40 Merge "qpnp: smb2: fix ICL recovery mechanism" 2017-05-26 00:09:37 -07:00
Linux Build Service Account
21dd810c7c Merge "qpnp-smb2: update AICL rerun logic for PM660" 2017-05-26 00:09:36 -07:00
Linux Build Service Account
b7e32b139c Merge "soc: qcom: pil: Use subsys_set_error to indicate firmware errors" 2017-05-26 00:09:35 -07:00
Linux Build Service Account
b4f36ef221 Merge "leds: qpnp-flash-v2: Add support for LPG strobe" 2017-05-26 00:09:34 -07:00
Linux Build Service Account
a5a24462df Merge "ARM: dts: msm: Enable the quat mi2s in slave mode on apq8098 mediabox" 2017-05-26 00:09:33 -07:00
Linux Build Service Account
972dd643bf Merge "ARM: dts: msm: update tuning parameters for QMP PHY for SDM660" 2017-05-26 00:09:32 -07:00
Patrick Fay
1255505e97 Perf: ARM: Support 32bit armv8-pmuv3 driver
Currently perf_event.c is 64bit specific due to
inline assembly.  Driver needs to support 32bit as well.
Move the assembly code to asm/perf_event.h so that
perf_event.c is 32/64 bit agnostic and move perf_event.c
to drivers/perf from 64bit-specific arch dir.

Change-Id: Ic5cd188700938e7a37120065a2d781e03bf99017
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
2017-05-25 16:48:16 -07:00
Skylar Chang
917cd579ac msm: ipa: fix security issues in ipa wan driver
Fix the security issue in handling add mux channel event
in ipa wan driver.

Change-Id: Ic2ffeafddad4954ec3ecba0d675646d0790eede7
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
2017-05-25 16:36:49 -07:00
Linux Build Service Account
c5685ec0f3 Merge "msm: kgsl: Return mementry only if pending_free is not set" 2017-05-25 15:52:15 -07:00