Commit graph

589435 commits

Author SHA1 Message Date
Hemant Kumar
cbec952d17 usb: gadget: f_cdev: Increase number of driver instances to 3
This allows to instantiate two dial up network interfaces and
one NMEA interface.

Change-Id: I59f5d93a5e9360628d8004508162dcdb42f6520d
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-05-11 11:12:50 -07:00
Linux Build Service Account
3d82d66409 Merge "msm: mdss: Retrict use of DMA Multi-Rect for FB pan_display" 2017-05-06 14:24:21 -07:00
Linux Build Service Account
0cd28ee7d9 Merge "msm: mdss: add additional debug code for timeout issues" 2017-05-06 14:24:20 -07:00
Linux Build Service Account
1bf879ca47 Merge "msm: mdss: Relocate timing flush for avr vtotal setup" 2017-05-06 14:24:19 -07:00
Linux Build Service Account
a2f35f2de9 Merge "msm: mdss: Initialize buf array elements" 2017-05-06 14:24:18 -07:00
Linux Build Service Account
76e08ee8fb Merge "msm: mdss: add support for mdss throttle clock handling" 2017-05-06 14:24:17 -07:00
Linux Build Service Account
a501834cd6 Merge "ARM: dts: msm: add mdss throttle clock for SDM660 and SDM630" 2017-05-06 14:24:16 -07:00
Linux Build Service Account
01ecd15b9d Merge "msm: mdss: fix memcpy source and dest memory buffer size mismatch" 2017-05-06 14:24:15 -07:00
Linux Build Service Account
980599904f Merge "defconfig: msmcortex: Enable PAN emulation" 2017-05-05 18:10:30 -07:00
Linux Build Service Account
ee38ff43b0 Merge "wil6210: Enable write ioctl" 2017-05-05 18:10:30 -07:00
Linux Build Service Account
a1409b4b4b Merge "seemp: check array index range" 2017-05-05 18:10:29 -07:00
Linux Build Service Account
b74085afd8 Merge "msm: mdss: Add multi-rectangle validation support" 2017-05-05 18:10:27 -07:00
Olav Haugan
875fa8b847 defconfig: msmcortex: Enable PAN emulation
Privilege Access Never (PAN) enforces the usage of
copy_to_user/copy_from_user and friends when kernel accesses data from
user space. If user space memory is accessed outside of these functions
a kernel panic occurs.

Change-Id: Ic32ad8ecb6d921293fca74664116098723afc436
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2017-05-05 11:21:21 -07:00
Linux Build Service Account
1e4c353d70 Merge "ARM: dts: msm: Add OnSemi regulator node for msm8996" 2017-05-05 09:10:06 -07:00
Linux Build Service Account
cd42f16f98 Merge "msm: mdss: Set LM flush bit for DE/Scalar reg update" 2017-05-05 09:10:05 -07:00
Linux Build Service Account
e04e7d0f39 Merge "input: touchscreen: fix issues related to variable initialization" 2017-05-05 09:10:04 -07:00
Linux Build Service Account
83384a6076 Merge "usb: gadget: mtp: Move mutex_init() to alloc_inst_mtp_ptp()" 2017-05-05 09:10:03 -07:00
Yida Wang
21d772b83f seemp: check array index range
Check whether array index is within the bounds in
seemp_logk_get_bit_from_vector().

Change-Id: Idccf75736582b2390540f4d7b3351c018937186a
Signed-off-by: Yida Wang <yidaw@codeaurora.org>
2017-05-05 11:39:19 -04:00
Linux Build Service Account
8312e8d304 Merge "scsi: ufs: add command logging infrastructure" 2017-05-05 01:02:38 -07:00
Linux Build Service Account
150579e6af Merge "defconfig: msm: Sync up perf_defconfig with defconfig" 2017-05-05 01:02:37 -07:00
Kiran Gunda
96ea755a18 ARM: dts: msm: Add OnSemi regulator node for msm8996
OnSemi buck regulator is used to provide the supply for
graphics rail. The programmable output voltage range is
from 0.6 V to 1.4 V in 6.25 mV steps.

Change-Id: I5f4ec11075b7f658ffa0af13dde5694b03c1495c
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2017-05-05 13:02:01 +05:30
Shantanu Jain
bda70401dd input: touchscreen: fix issues related to variable initialization
Fix issues related to variable initialization in FTS touchscreen
driver.

Change-Id: I2911787dd1e1979e027bacdd1bc1cec06845ffd3
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2017-05-05 11:49:13 +05:30
Wei Li
e5e90e8d97 defconfig: msm: Sync up perf_defconfig with defconfig
Sync up msm-auto-perf_defconfig with msm-auto_defconfig

Change-Id: Ief53b4c287ca3efbe8f82779a8d4e9f524b06fd8
Signed-off-by: Wei Li <weili@codeaurora.org>
2017-05-05 09:49:01 +08:00
Linux Build Service Account
9416e47b01 Merge "msm: pcie: move PCIe enumerate sysfs init" 2017-05-04 17:44:33 -07:00
Linux Build Service Account
932034e5a1 Merge "diag: Validate memory device client's process descriptor" 2017-05-04 17:44:32 -07:00
Linux Build Service Account
96a33ee792 Merge "net: pppolac/pppopns: Add back the msg_flags" 2017-05-04 17:44:31 -07:00
Linux Build Service Account
06d9001dc4 Merge "msm: ipa: Add a support to retry uC send command" 2017-05-04 17:44:30 -07:00
Rajkumar Subbiah
9cf8bad48b msm: mdss: Relocate timing flush for avr vtotal setup
The AVR vtotal setup is done during ctl start. Since the slave
ctl is not yet setup, currently the master and slave controls
get flushed independently even though it is a split display
setup. Instead, just set a flag and then do the actual flush
as part of commit when the controls are properly setup.

Change-Id: I8eb1693c9a3a6404d28a82cab9a9f0ce58d1bb03
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
2017-05-04 10:32:25 -07:00
Tony Truong
821a04092d msm: pcie: move PCIe enumerate sysfs init
PCIe enumerate sysfs initialization should be
done after all other resources are setup.

Change-Id: I33b43e39453eeee9ac9e22bd1a5463af9eb1fd05
Signed-off-by: Tony Truong <truong@codeaurora.org>
2017-05-04 10:17:39 -07:00
Linux Build Service Account
baf0fa8f1e Merge "wil6210: add option to ignore OTA regulatory hints" 2017-05-04 08:45:27 -07:00
Linux Build Service Account
da84e26540 Merge "ion:synchronize debugfs callback and ion_client_destroy" 2017-05-04 08:45:26 -07:00
Linux Build Service Account
303fb8a3ac Merge "btfm: Program multi channel registers in wcn3990 for Tx/Rx" 2017-05-04 08:45:25 -07:00
Linux Build Service Account
2cba763104 Merge "regulator: onsemi-ncp6335d: Add is_enabled API support" 2017-05-04 08:45:24 -07:00
Linux Build Service Account
a18fb0347b Merge "drm/msm: Fix the SNAPSHOT_HEADER macro" 2017-05-04 08:45:23 -07:00
Linux Build Service Account
66e4265f1d Merge "fs/mbcache: fix use after free issue in mb_cache_shrink_scan()" 2017-05-04 08:45:21 -07:00
Linux Build Service Account
6b10165796 Merge "ARM: dts: msm: Add batt_therm coefficients for QRD SDM660/630" 2017-05-04 08:45:20 -07:00
Linux Build Service Account
34c8633819 Merge "qbt1000: Initialize drvdata structure before usage" 2017-05-04 08:45:19 -07:00
Linux Build Service Account
b1abf6c73c Merge "qbt1000: Validate FP app name before qseecom_start_app" 2017-05-04 08:45:18 -07:00
Linux Build Service Account
8a82f9c18a Merge "msm: mdss: Add plane_count range check in mdss WFD" 2017-05-04 08:45:11 -07:00
Linux Build Service Account
af19d5218d Merge "msm: mdss: Add plane_count limit check for mdss_rotator buffer" 2017-05-04 08:45:10 -07:00
Linux Build Service Account
0e19770cb1 Merge "ARM: dts: msm: enable SMMU stage1 for 11AD devices on msm8998" 2017-05-04 08:45:09 -07:00
Linux Build Service Account
2fa5ce1a0a Merge "ASoC: msm: qdsp6v2: Add routing controls for fm over mi2s" 2017-05-04 08:45:08 -07:00
Linux Build Service Account
64b33916d2 Merge "ASoC: sdm660_cdc: Avoid unclocked register access to digital codec" 2017-05-04 08:45:07 -07:00
Linux Build Service Account
17178c9391 Merge "msm: ipa3: configure WLAN resource group on connect" 2017-05-04 08:45:05 -07:00
Gopikrishna Mogasati
b18e24a6f4 diag: Validate memory device client's process descriptor
This fix checks for valid process descriptor of a
memory device client before exporting information
from diag driver to memory device client's read buffer
for reliable data transfer.

CRs-Fixed: 2016396
Change-Id: I45aeb8fc9e2f6a678d48bbfcbb77c501adbbfce0
Signed-off-by: Gopikrishna Mogasati <gmogas@codeaurora.org>
2017-05-04 20:46:47 +05:30
Utkarsh Saxena
8a834f9977 msm: ipa: Add a support to retry uC send command
For the status IPA_HW_2_CPU_WDI_RX_FSM_TRANSITION_ERROR,
receive from the uC, add a logic to retry sending the same
command for maximum of 10 retires.

Change-Id: I4b241311e0699aea0e24b3a279622a8a1aaa737d
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-05-04 16:27:52 +05:30
Satish Kodishala
413d2ae9fe btfm: Program multi channel registers in wcn3990 for Tx/Rx
For A2DP/SCO Rx, SCO/FM Tx use cases, we need to program
multi channel registers. Without this there would be
glitches and random silence during A2DP playback.

While at it, add the function name to the debug print macro.

CRs-Fixed: 2027268
Change-Id: Ia8e5fde48bb94e97346fe323e92dc32ed60b0e65
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
2017-05-04 02:19:39 -07:00
Neil Zhang
2136b67dc6 ion:synchronize debugfs callback and ion_client_destroy
There are race condition B/T ion_client_destroy and debugfs callbacks.
Let's use a mutex to synchronize them.

Change-Id: I3373dc1dbb551b615105a485cc2d3c4bcc0e5e99
Signed-off-by: Neil Zhang <neilzhang1123@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 948c4db4ee10d85fe78ed3755dcaeb85cd37a148
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[guptap@codeaurora.org: resolve trivial merge conflicts and
 change usage of %p with %pK]
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2017-05-04 14:45:01 +05:30
Prakash Gupta
026cbd8d2a ion: revert downstream fix for debugfs synchronization
revert msm specific changes conflicting with commit I3373dc1dbb5
("ion:synchronize debugfs callback and ion_client_destroy")

- revert commit I7bc7562400d ("ion: destroy ion handles under
  client->lock")
- revert commit Ic4c2f9dff90 ("ion: validate ion client in
  ion_debug_client_show() and extract data")
- revert dev->lock usage in ion_debug_heap_show.

Change-Id: Iba5f527b57f39d628b8cd833f627481cc56f6617
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2017-05-04 14:45:01 +05:30
Sachin Bhayare
c25dba2a0b msm: mdss: add support for mdss throttle clock handling
Update mdss throttle clock status based on status of display.

Change-Id: Ife21df0c570240c075f039b8d49514bb323021da
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
2017-05-04 02:07:22 -07:00