Commit graph

440534 commits

Author SHA1 Message Date
Vidyakumar Athota 546f362e97 ASoC: msm-lsm-client: free lsm client data in msm_lsm_close
Currently lsm client data is deallocated when q6lsm_open() fails
which can cause memory corruption if lsm client data is accessed
after freed. Fix this issue by deallocating the client data only
in msm_lsm_close().

Change-Id: If048c26a0ffd8a346a28622183cbf2ba1e7e5ff3
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2015-12-24 01:53:33 -08:00
Linux Build Service Account 9405ce6d63 Merge "sensor: Adjust OV2685 sensor setting" 2015-12-23 16:27:14 -08:00
Linux Build Service Account aed064ffa7 Merge "msm: camera: isp: pass overflow interface to userspace" 2015-12-23 16:27:14 -08:00
Linux Build Service Account 30403f8fd2 Merge "ARM: dts: msm: Update GPU power levels for msm8976" 2015-12-22 15:03:15 -08:00
Linux Build Service Account 7b296b52d9 Merge "ASoC: wcd_cpe_services: delete the redundant worker thread" 2015-12-22 04:47:05 -08:00
Linux Build Service Account a1891592b5 Merge "ARM: dts: msm: Add pinctrl for codec reset and interrupt on 8976" 2015-12-22 04:47:03 -08:00
Linux Build Service Account d23b7aeec2 Merge "ASoC: wcd_cpe_services: Fix DRAM size for WCD9335" 2015-12-22 04:47:01 -08:00
Linux Build Service Account 6495302484 Merge "ASoC: wcd_cpe_core: Fix address and size for ramdumps" 2015-12-22 04:47:00 -08:00
Linux Build Service Account 2dba80e36f Merge "ASoC: msm-cpe-lsm: Fix out of memory on buffer allocation" 2015-12-22 04:46:59 -08:00
Linux Build Service Account fd175ae6f5 Merge "ASoC: wcd-mbhc: reduce insert and remove debounce on wcd9335" 2015-12-22 04:46:58 -08:00
Linux Build Service Account 6515f031ef Merge "sched: use ktime instead of sched_clock for load tracking" 2015-12-22 04:46:55 -08:00
Linux Build Service Account 1a154ce17c Merge "mmc: cmdq: decrease the QSR polling period" 2015-12-22 04:46:53 -08:00
Linux Build Service Account 1672fcbf00 Merge "ARM: dts: msm: affine to little cores when busy on 8956/8952" 2015-12-22 04:46:51 -08:00
Linux Build Service Account fbb534c5f4 Merge "slim_msm: Gracefully handle QMI timeout failures" 2015-12-22 04:46:51 -08:00
Linux Build Service Account 74b82847eb Merge "um: Include generic barrier.h" 2015-12-22 04:46:49 -08:00
Linux Build Service Account c5067758e6 Merge "iommu: msm: Check for map/unmap errors strictly" 2015-12-22 04:46:48 -08:00
Linux Build Service Account 588e5765b3 Merge "ion: fix compile time error with !CONFIG_CMA" 2015-12-22 04:46:46 -08:00
chiz e31abf4b0c msm: camera: isp: pass overflow interface to userspace
Pass overflow interface to userspace, so that user can
decide which VFE and ispif interce to recover.

Signed-off-by: chiz <chiz@codeaurora.org>
Change-Id: I4f222c846679d9c0fe447d4e79a51fd20be99b6e
2015-12-21 23:52:28 -08:00
Kui Wang 4826c3c806 sensor: Adjust OV2685 sensor setting
OV2685 only can support 24fps in normal mode.
Change setting for it.

Change-Id: I01014b2d3113b54ba2b00b007fb111e7ae64ef05
Signed-off-by: Kui Wang <kuiw@codeaurora.org>
2015-12-21 23:50:00 -08:00
Santosh Mardi 0384f77e2f ARM: dts: msm: Add pinctrl for codec reset and interrupt on 8976
Change reset line of codec from gpio to pinctrl
on 8976 target to control the drive strength of the reset pin.

Change-Id: Ibbb4c32391a1fb3673de49403c7fd5561b83dda6
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2015-12-19 10:46:03 -08:00
Linux Build Service Account 9530d100bc Merge "msm: ipa: aggregate the trigger to replenish free pool" 2015-12-18 06:52:26 -08:00
Linux Build Service Account 3dfb6f3238 Merge "net: Indicate whether a socket is a transparent socket" 2015-12-18 06:52:24 -08:00
Linux Build Service Account b84341d2dd Merge "netfilter: xt_socket: add XT_SOCKET_RESTORESKMARK flag" 2015-12-18 06:52:24 -08:00
Linux Build Service Account 42fce90758 Merge "netfilter: xt_socket: fix broken v0 support" 2015-12-18 06:52:23 -08:00
Linux Build Service Account 174ffc9d87 Merge "netfilter: xt_socket: add XT_SOCKET_NOWILDCARD flag" 2015-12-18 06:52:23 -08:00
Linux Build Service Account cba4d54be8 Merge "netfilter: xt_socket: use IP early demux" 2015-12-18 06:52:23 -08:00
Linux Build Service Account b09a4a8aba Merge "mm: fix compile time error with !CONFIG_CMA" 2015-12-18 06:52:22 -08:00
Linux Build Service Account ac27a302ae Merge "um: define TIF_MM_RELEASED" 2015-12-18 06:52:22 -08:00
Richard Weinberger 8e930602ec um: Include generic barrier.h
...to get smp_store_release().

Change-Id: I74ee26375eccebd5f2cd10cf330690dfe7d5d949
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Git-commit: 9af2452a1839e5586dc7f39eba692d49b768cca4
Git-repo: https://github.com/torvalds/linux.git
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2015-12-18 10:53:29 +05:30
Asutosh Das 925b16ff72 mmc: cmdq: decrease the QSR polling period
Configure the controller to send the QSR at 1 clock period.
This would send SQS(CMD13) when no data transfer is in
progress. This decrease in the polling period increases the
performance of the device.

CRs-fixed: 891366
Change-Id: Ic2807c6334a778b5f0c89fb605c6923a44f7624a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2015-12-18 09:35:35 +05:30
Sahitya Tummala 1ac5a7c2cf ARM: dts: msm: affine to little cores when busy on 8956/8952
In CQ mode, there is no way to distinguish between
READ or WRITE request. Hence, acquire the QoS lock
for little cluster for the entire period of transfer.
This would result in a slight performance improvement
in single threaded transfers.

Change-Id: Icaf9a8d1efad550f97f6818a8c77cde434674824
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2015-12-17 19:59:12 -08:00
Linux Build Service Account 08c2c5ce41 Merge "soc: qcom: smd: Catch missed close state transitions" 2015-12-17 18:48:24 -08:00
Linux Build Service Account d7931c70e1 Merge "msm: mdss: Add ioctl support for DSPP dirty flags config" 2015-12-17 18:48:19 -08:00
Sudheer Papothi e26b6ab560 ASoC: wcd-mbhc: reduce insert and remove debounce on wcd9335
Reduce insert and remove debounce value on wcd9335 to 96msec
to improve device switch latency during audio playback usecase.
Change sets the insert and remove debounce to 96msec.

Change-Id: I62a4e29af050da3b6be4afc1267b1b03f786c63e
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2015-12-17 02:16:20 -08:00
Sagar Dharia 61b972d477 slim_msm: Gracefully handle QMI timeout failures
QMI timeout can happen if other processor doesn't respond within the
time expected by slimbus driver on apps. It has been noticed that QMI
call to power-on slimbus rarely takes more than 500msec. Timeout
is increased to allow that possibility. Additionally, QMI channel is
drained out of left-over messages and runtime-PM state check is
modified to allow graceful handling of timeout if at all any timeout
still happens.

Change-Id: I392a4fa761735135a261fb543815823cee5eba41
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2015-12-17 02:14:01 -08:00
Bhalchandra Gajare 488973e30e ASoC: msm-cpe-lsm: Fix out of memory on buffer allocation
The buffer used for look-ahead-buffering is allocated during IOCTL from
userspace. It is possible that userspace can invoke this IOCTL multiple
times without invoking the IOCTL to de-allocate the buffer. This results
in out of memory issue for buffer allocation during stress testing. Fix
this issue by avoiding multiple buffer allocations.

CRs-fixed: 942452
Change-Id: Id9eb99dc2c8527fbbe1fe79fca1cdcea232c33da
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2015-12-17 00:45:24 -08:00
Nitesh Gupta 4e250c34be msm: mdss: Add ioctl support for DSPP dirty flags config
--Adding an ioctl support for dirty flags configuration
  after configuring all the DSPP registers which can be
  handled at userspace.
--Adding DEFER_ENABLE bit mask for deferring the setting
  of dirty flags to restrict for programming particular
  block in DSPP.

Change-Id: I7d40237f83251f3e513cf82f951830ba286a72c8
Signed-off-by: Nitesh Gupta <niteshg@codeaurora.org>
2015-12-16 23:14:52 -08:00
Linux Build Service Account 5499e3b5c7 Merge "ASoC: msm: Add support for HW MAD bypass feature for listen" 2015-12-16 23:09:22 -08:00
Deepak Kumar 354ab8e3cb ARM: dts: msm: Update GPU power levels for msm8976
Add 550Mhz power level, this helps in both
performance and power.

Change-Id: I50a75ee188c12895ef41fe184e1b29b4478c36ff
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2015-12-16 22:55:58 -08:00
Walter Yang aec82b54fc ASoC: wcd_cpe_services: delete the redundant worker thread
Currently worker thread in cpe service is created twice.
The second thread handler overwrites the first one. The first
thread is not freed when the service is cleaned up. The fix
prevents creation of the redundant thread.

CRs-Fixed: 949165
Change-Id: Idd76b76d4f7f25d2592ca7c336dbee77b6efc7eb
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2015-12-16 22:22:24 -08:00
Linux Build Service Account 6d6cf90f16 Merge "ARM: dts: msm: affine to little cores when busy on 8976" 2015-12-16 13:17:24 -08:00
Linux Build Service Account dc13208569 Merge "ASoC: wcd9335: Clear TX HOLD for ANC input MUX'es" 2015-12-16 13:17:19 -08:00
Chintan Pandya fc3b32979e iommu: msm: Check for map/unmap errors strictly
Over unmap, double unmap, double map are few errors
which needs to get caught right then and there. So,
be verbose for those errors instead of identifying
them later.

Change-Id: I364c65f63e79747f6544e76a475ad958c4fd1b5e
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
2015-12-16 05:08:43 -08:00
Joonwoo Park b136867440 sched: use ktime instead of sched_clock for load tracking
At present, HMP scheduler uses sched_clock to setup window boundary to
be aligned with timer interrupt to ensure timer interrupt fires after
window rollover.  However this alignment won't last long since the timer
interrupt rearms next timer based on time measured by ktime which isn't
coupled with sched_clock.

Convert sched_clock to ktime to avoid wallclock discrepancy between
scheduler and timer so that we can ensure scheduler's window boundary is
always aligned with timer.

CRs-fixed: 933330
Change-Id: I4108819a4382f725b3ce6075eb46aab0cf670b7e
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
[pkondeti@codeaurora.org: resolved trival merge conflicts]
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2015-12-16 13:38:12 +05:30
Linux Build Service Account 73bdbfef3c Merge "ASoC: wcd9335: Change RX disconnect port sequence" 2015-12-15 22:01:59 -08:00
Linux Build Service Account baab8d4f2a Merge "soundwire: Disable ports in both banks after playback usecase" 2015-12-15 22:01:59 -08:00
Linux Build Service Account e960032081 Merge "mmc: sdhci-msm: Enable enhanced strobe support for host" 2015-12-15 22:01:55 -08:00
Linux Build Service Account 84a2e346b5 Merge "memshare: Release the memory only if no allocation is done" 2015-12-15 22:01:51 -08:00
Linux Build Service Account 71ddf5daed Merge "sched: Export sched_setscheduler_nocheck()" 2015-12-15 22:01:48 -08:00
Linux Build Service Account 0455b4cbde Merge "msm: sps: output BAM register dump to IPC log only" 2015-12-15 22:01:47 -08:00