Make get_service_location() asynchronous, which was a blocking call
before. This also means every client will have it's own thread and
doesn't need to create thread on their end.
CRs-Fixed: 1045353
Change-Id: Ibcccf56d41779b808d1835f62969e3c9365939e8
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
To minimize spinlock, the qce50 client is assumed that it can only issue
request to qce50 driver one at a time. After a request is issued to
qce50 from qcrypto. Without waiting for completion, other requests can
still be issued until the maximum limit of outstanding requests
in qce50 reaches.
To cut down the chance of udp socket receive buffer overflow the following
schemes are provided -
The number of bunched requests in qce50 is based on the data length of
the current request to cut down delay for smaller packets. In turn,
with smaller delay, the number of completed requests to process in
seq_response() completion function is less.
The scheduling of qcrypto requests are changed from least use to
round robin. This way, the distribution of requests to each engine
is more even. As the result, reordering of completed requests will
be less. Completed requests to handle in completion callback is less
at a time.
Change-Id: I723bac2f9427cddb5248101c9ac3f2b595ad0379
Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Sivanesan Rajapupathi <srajap@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Enable EOB event notification from GSI in order to receive completion
events on partial packets, which are split to multiple buffers.
This change is fixing few bugs in the handling of such a scenario.
CRs-Fixed: 1043511
Change-Id: I830dba8f4e47e3383b09639416fc704caa94cdf2
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Add active and sleep sets for the DP Aux input lanes, HPD and
the USB-type-C orientation detection GPIO.
These GPIOs are needed to enable display on the DP interface.
Change-Id: I4d743246dfe74a80ecce283b6056baf153e588f9
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Build kryo-l2-accessors only for MSM8996. This will avoid
compilation errors while building for 32-bit.
Change-Id: I3433623797abbefc5f19991c215260d1df11e42a
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Currently on msm-4.4 kernel, MSM8996 clock files are built when
ARCH_QCOM is enabled. Compile 8996 clock files only when
ARCH_MSM8996 is enabled, to avoid any issue when compiling for
other targets.
Change-Id: I58440ae6cf7f02b7137312c38219efeaccf06b58
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
The IPC Router devices define the topology for high-level interprocessor
communication within the SoC.
CRs-Fixed: 1043377
Change-Id: I565c7c6323a129c4f29c8da5c3e8719121f1109d
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
For 24 bit playback decoder is opened with 16 bits per sample, So
decoder output is 16 bit only.
Set bits per sample to 24 if codec format is SNDRV_PCM_FORMAT_S24_3LE.
Set bits per sample to 16 as default value in capture prepare use case.
CRs-Fixed: 1035154
Change-Id: I14271b17441308f8ec6dfaea566c01887d1233f4
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
These entries allow the G-Link SMEM Transport to function, which allows
G-Link to use shared memory as an underlying physical transport.
CRs-Fixed: 1043377
Change-Id: I879f2229b4ab74d760c03f2ce12a9ba3b1c9af8d
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
This is the reference driver source code for the msg21xx series.
Signed-off-by: Bruce Ding <bruce.ding@mstarsemi.com>
Signed-off-by: mstar-touch <bruce.ding@mstarsemi.com>
Git-commit: c4cdbf1ae326b8745f5e50f044d23aa8e3d3e131
Git-repo: https://github.com/mstar-touch/msg21xx
Change-Id: Ia9cbfac5dc6e1b74f47bf13dbafaacc2624ee4fd
[maol@codeaurora.org: keep the mstar original code without any
change in this commit]
Signed-off-by: Mao Li <maol@codeaurora.org>
(cherry picked from commit 2ce52642057a25fca6337826533d4fbfddede290)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
IT7258 touchscreen driver creates a character device which is
not used by anyone. Remove this dead code
Change-Id: Ied8a0048d8af17fa593c1970cabb572aac338786
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
This is the reference driver source code V1.8 for the GT9XX series.For
this first commit just copy binary, the second commit decompress the
binary and the third commit upgrade the version. We just need the newest
version, so Squashed the following commits:
commit 31915760747230826fa474fbb5b06a70b103c7e7
Author: Andrew Huang <andrew@goodix.com>
Date: Thu Jun 27 10:06:56 2013 +0000
This is the official reference driver source code V1.8 for the GT9XX series CTP controller,release for CIENET.
Signed-off-by: Andrew Huang <andrew@goodix.com>
git-svn-id: http://gtp-drivers-for-android.googlecode.com/svn//drivers@15 4d552555-e8e2-8f43-36d7-85641c3b7a2e
commit 82f70eaf58b0996e9f488b170f81a107642d4df8
Author: unknowtree@gmail.com <unknowtree@gmail.com>
Date: Thu Jun 6 02:58:58 2013 +0000
git-svn-id: http://gtp-drivers-for-android.googlecode.com/svn//drivers@7 4d552555-e8e2-8f43-36d7-85641c3b7a2e
commit 5c42b80f40a9731ac45d4e04a7a7528367f713e7
Author: unknowtree@gmail.com <unknowtree@gmail.com>
Date: Tue Jun 4 08:53:01 2013 +0000
git-svn-id: http://gtp-drivers-for-android.googlecode.com/svn//drivers@5 4d552555-e8e2-8f43-36d7-85641c3b7a2e
Change-Id: I30420fc51fe1bb153c36342e607539e5cd74de61
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
(cherry picked from commit ab45aab306d8b8d16619bc02f35465fb8d6ff066)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
This is the reference driver source code of it7258 touchscreen driver.
Signed-off-by: Alfred Deng <Alfred.Deng@ite.com.tw>
Git-commit: 3852a7ccce89c17ec3c4165acf9c81753c940104
Git-repo: git://github.com/ite-touch/touchscreen-driver
Change-Id: Ic1eab3ba79b8e8e5c259bb92f2692fd0db5fc8d3
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
(cherry picked from commit c25c3f1a0f29d7989b7d7058da74e465665bf279)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
Ft5x06 controllers are single chip capacitive
touch panel controller ICs with a built-in 8 bit
Micro Controller Unit. It supports multi-touch
capability and can detect up to five touches.
Change-Id: I39eb1175d473d1f2c463e1c4a0a1606307da9dc0
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
(cherry picked from commit a2595074a6528a1a2d28470c11ed14c21081068c)
The MDSS clock drivers were not getting compiled due to an extra 'y', fix
the same.
CRs-Fixed: 1041122
Change-Id: I21e62361f40eb654c369048d01e158d4b96dd551
Signed-off-by: Taniya Das <tdas@codeaurora.org>
In RNDIS composition when windows PC is suspended RNDIS
driver sends flow control enable which frees the trb pool
of the RNDIS endpoints and trb pool pointer is set to NULL.
When bus suspend happens RNDIS gsi driver performs endpoint
disable operation because remote wake up is disabled. Endpoint
disable perform memset 0 on trb pool which is already set to
NULL causing the NULL pointer dereference. Fix this by adding
NULL check for trb pool before doing memset 0.
CRs-Fixed: 1044799
Change-Id: I2a233e85139be0612314e6fa3dfa1d1c0fa04547
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Currently power supply name is passed to get the battery profile
in of_batterydata_get_best_profile(). This creates a dependency
of waiting for the driver that has the power supply class device.
Improve this by passing the battery id directly to the API. This
way, getting battery id will be the responsibility of caller.
CRs-Fixed: 1043798
Change-Id: I7a8c2b2fcc9b43e2e858114f7312fccf96dc3f78
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Vote for bandwidth after clocks are enabled. For bandwidth
voting clocks need to be on.
CRs-Fixed: 1044777
Change-Id: I9be1ee26419c082cda6351ef6d5aeedc6e17de55
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Fix the value of the constant for the minimum VCO rate by
setting it to 250MHz. This fix will allow valid clock rates
such as 252MHz to be configured for the HDMI PHY and enable
certain HDMI modes to work correctly instead of failing the
validation checks when setting the VCO rate.
CRs-Fixed: 1039464
Change-Id: I0e90de49d295563aba87af39169bd3dea1f8ade7
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Add support to displayport driver for msmcortex
platform.
Change-Id: I90d82873381cb1e9b86ed339d755365cccded537
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
EDP is a add-on support for DP driver. Rename the
EDP [.ch] files and the AUX channel driver file to DP.
Change-Id: Ifeadae2f58eb4fbf398a682beb9180c4f7419041
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Create new "util" files to support IO operations.
Use default resolution to register DP driver with FB.
Update regulator and clock changes to support generic
implementation.
Change-Id: I896ab17afce77faf3dcf64fd75b15eaec9d5a00e
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
A new post-processing ioctl is added to pass AD backlight threshold
and AD backlight low limit to driver. AD backlight low limit is used
to prevent very small backlight value been sent to AD core, which
will cause over-sensitivity for AD core.
Change-Id: I6e4222728d805d5b1d07cce4bf4648219cdaf587
Signed-off-by: Ping Li <pingli@codeaurora.org>
This reverts the following -
commit f1900fb5ec ("net: Really fix vti6 with oif in dst
lookups")
'commit 4148987a51 ("net: Fix vti use case with oif in dst
lookups for IPv6")
commit 42a7b32b73 ("xfrm: Add oif to dst lookups")
Routing in tunneled scenarios are completely broken due to these
upstream commits. Revert these changes as a workaround till a
solution is determined internally and is accepted upstream.
CRs-Fixed: 1039009
Change-Id: I4e02573bc6dadf8d1a2ce50313e6d0c6e6a0e599
Acked-by: Abhinav Kannan <kannana@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Check if wlan module is loaded before calling wlan
suspend/resume as wlan could be turned on before FW
ready. In this case, wlan driver operations are registered
to icnss platform but wlan driver is not loaded.
CRs-Fixed: 1044223
Change-Id: I134790377e15d4003ecfa686a9fa7ab720e08865
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Add a dummy clock provider that registers a simple callback that
in turn always returns the dummy clock for any clk_get call. This is useful
for unimplemented clocks.
Change-Id: I08fcb174fd0e0c49f8069e106b48597bcdfe847d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Hotplug initialization will trigger a hotplug if temperature stays above
the trip threshold and will try to online if temperature is below the
clear threshold. Since KTM does boot mitigation till thermal-engine is
running, hotplug init can be called twice. First from post init script
and second when the hotplug task is initialized. There is a possiblity
the first init call can set the hotplug local mask and the second init
call wont clear or update the mask with correct value if the temperature
is between the hotplug trip and clear threshold.
Update the hotplug init API to perform the check only if the hotplug
task is initialized. Also the hotplug check will clear the hotplug local
mask if the temperature is not above the trip threshold.
Change-Id: Ica1325f8aa65c338ea0e5b201f566607c3ddf904
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
A big negative data length value can bypass the current check,
update the condition to ensure that only valid data length is used
to copy the params.
CRs-Fixed: 1041130
Change-Id: I6e1a58e901e4c042acfb0ab0a6223dec2949aefe
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
SSR entries contain the list of subsystems to notify when an SSR for a
given subsystem occurs. This information enables G-Link to handle
closing and re-opening channels in the case of SSR.
CRs-Fixed: 1043377
Change-Id: Ibd8ceb8149b3041ce1f58ac4c3642d7391b89385
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Add the SMEM entry to enable the use of shared memory by different
processors in the SoC.
CRs-Fixed: 1043377
Change-Id: Ic36a67c724d7f8a0e64affba92856160cce914bb
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>