Commit graph

586962 commits

Author SHA1 Message Date
Ankit Sharma
2ec2b87f23 leds: qpnp-flash-v2: Change minimum current configuration
Change minimum current configuration from hard coded value to
based on current resolution step.

CRs-Fixed: 2014773
Change-Id: I69d6f2af032495a263d3d41a0569efe0acf0ce72
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
2017-04-10 15:10:35 +05:30
Linux Build Service Account
272879fc1f Merge "AndroidKernel: add support to configure DLKM install path" 2017-04-09 12:29:20 -07:00
Linux Build Service Account
45862a3434 Merge "qcom: qpnp-fg-gen3: Reconfigure profile parameters upon battery hotswap" 2017-04-08 17:30:32 -07:00
Linux Build Service Account
ae38441f86 Merge "ARM: dts: msm: optimize rm67195 settings for SDM660 PM660A QRD" 2017-04-08 09:12:32 -07:00
Linux Build Service Account
1d0ed71b09 Merge "drm/msm: Fix gmem range setting" 2017-04-08 00:16:59 -07:00
Linux Build Service Account
bb9662f8f5 Merge "iio: qcom-tadc: use HW default for batt therm HW conversion trigger" 2017-04-07 16:05:49 -07:00
Linux Build Service Account
dbadf2a17e Merge "diag: Check for diag glink handle on connect event" 2017-04-07 16:05:48 -07:00
Linux Build Service Account
dd5ae38fec Merge "mhi: core: Enable mhi_dev_net interface channels" 2017-04-07 16:05:47 -07:00
Linux Build Service Account
1cd138bdcb Merge "usb: gadget: f_mass_storage: Perform async runtime suspend after ep disable" 2017-04-07 16:05:46 -07:00
Sreelakshmi Gownipalli
8ea9435855 diag: Check for diag glink handle on connect event
Check for diag glink handle on receiving connect and
disconnect events from glink.

Change-Id: I049367ffa4fbab1b8b3585cf6d1b53760e7431a6
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2017-04-07 13:38:18 -07:00
Kasin Li
a9f76539c1 drm/msm: Fix gmem range setting
GMEM IOVA range is intend to start from 0x100000, But currently it
is initialized with RANGE_MIN_LO:RANGE_MIN_LO. It makes GMEM IOVA
start from 0.

Change-Id: I6028c076c32d861303cbec1c6ad168d8494e094c
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2017-04-08 01:18:07 +08:00
Linux Build Service Account
1da237c93b Merge "diag: Set context properly while sending command responses" 2017-04-07 06:39:29 -07:00
Linux Build Service Account
d15461eb97 Merge "ath10k: synchronize restart work with FW ready indication" 2017-04-07 06:39:29 -07:00
Linux Build Service Account
0eb82372dc Merge "msm: ipa: Fix memory leak in ipa driver" 2017-04-07 06:39:28 -07:00
Vijayavardhan Vennapusa
f9979adc6d usb: gadget: f_mass_storage: Perform async runtime suspend after ep disable
commit 82f2935616 ("usb: gadget: f_mass_storage: Allow USB LPM
upon ep disable") decrements power usage count by 1 for dwc3 device
in thread handler as part of do_set_interface(). fsg_disable() and
fsg_unbind() will raise exception for status change so that status change
is handled in thread handler. Due to this, there is a chance that
fsg_thread can run two times and results in calling do_set_interface()
twice for disabling endpoints. This causes decrementing power usage count
two times instead of 1 and power usage count can become negative. If cable
is disconnected at this time, it could cause unclocked access or fsg_thread
gets stuck. common->fsg bieng non NULL confirms that MSC interface is being
enabled. Hence fix the issue by decrementing power usage count only right
after disbling endpoints as disabling endpoints happens once due to check
of common->fsg.

Change-Id: Ia870838f5a7055436b7412fec5910b5cdbb42de2
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-04-07 11:43:07 +05:30
Linux Build Service Account
e4a1db03db Merge "diag: Do not mark buffers free during channel opening" 2017-04-06 22:31:58 -07:00
Linux Build Service Account
3d449c081c Merge "ion: change data type of source_vm* variable to int" 2017-04-06 22:31:56 -07:00
Linux Build Service Account
c079ecdc4e Merge "wil6210: missing reinit_completion in HALP voting" 2017-04-06 22:31:43 -07:00
Linux Build Service Account
5da4139c92 Merge "wil6210: use print_hex_dump_debug instead of print_hex_dump_bytes" 2017-04-06 22:31:38 -07:00
Linux Build Service Account
6319cf033b Merge "ASoC: msm: update TDM slot mapping and FE DAI array" 2017-04-06 14:33:16 -07:00
Linux Build Service Account
bce56352aa Merge "seemp: fix code analysis issues" 2017-04-06 14:33:15 -07:00
Linux Build Service Account
89364febeb Merge "msm: pcie: update mask and linkdown check in PCIe read/write API" 2017-04-06 14:33:14 -07:00
Linux Build Service Account
61bae6eff7 Merge "msm: pcie: expand PCIe boot option" 2017-04-06 14:33:13 -07:00
Linux Build Service Account
f825071893 Merge "msm-core: Fix uninitialized sampling work" 2017-04-06 14:33:13 -07:00
Linux Build Service Account
8dbe64734d Merge "soc: qcom: glink_pkt: Add mutex in glink_pkt_read" 2017-04-06 14:33:11 -07:00
Linux Build Service Account
7b572c28b1 Merge "wil6210: prevent access to 11AD device if resume fails" 2017-04-06 14:33:11 -07:00
Linux Build Service Account
5a0cfd1234 Merge "Revert "sd: Fix rw_max for devices that report an optimal xfer size"" 2017-04-06 14:33:10 -07:00
Linux Build Service Account
ebc1fa334d Merge "spi: spi_qsd: Disable packing for unaliged non DMA mode transfers" 2017-04-06 14:33:09 -07:00
Linux Build Service Account
6c5cc8bddc Merge "cpu-hotplug: Always use real time scheduling when hotplugging a CPU" 2017-04-06 14:33:08 -07:00
Linux Build Service Account
94a297b730 Merge "binder: use group leader instead of open thread" 2017-04-06 14:33:07 -07:00
Linux Build Service Account
d7dac6fbf0 Merge "pps-gpio: Timestamp alignment with boottime" 2017-04-06 14:33:06 -07:00
Shashank Mittal
20fbb62014 AndroidKernel: add support to configure DLKM install path
Add support to configure DLKM install path.

TARGET_OUT is hard coded to system directory.
Use PRODUCT_OUT instead of TARGET_OUT to use user configured path
instead.

Change-Id: Iacbfa0fce69d3cb4b6f47a6c857983034633dc19
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2017-04-06 11:24:57 -07:00
Shashank Mittal
d076b99bfe arm64: add config option to enable DT overlay
Add config option to enable DT overlay. This option sets DTC_FLAGS to
enable DT compilation with overlay support.

Change-Id: I74b1ed9828ec94093fab40a70c0cd0c155796c94
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2017-04-06 11:24:50 -07:00
Shashank Mittal
47c6fb9e63 scripts: Makefile: add support to use external DTC
Add support to use external DTC to compile device tree blobs.

Change-Id: I268d2332d5328c3b0050b35c96f91e8ef9e1f6f8
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2017-04-06 11:22:41 -07:00
Shashank Mittal
18a3ceeb5e scripts: Makefile: add support to compile DT overlay blobs
Add support to compile device tree overlay blob.
'dtbo-y' target can be used to specify DT overlay blob.
'<target>-obj'  must be specified to list base and overlay blobs.

Change-Id: Ib5036c70ba46374619cc43f9f7b697e1a444aebf
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2017-04-06 11:22:41 -07:00
Shashank Mittal
7515bfb3f1 AndroidKernel: add support to pass build flags
Add support to pass build flags while compiling Linux kernel.

This change is required to add support in Linux kernel to use external
host executable. (example: dtc)

Usage example:
TARGET_KERNEL_MAKE_ENV := DTC_EXT=dtc$(HOST_EXECUTABLE_SUFFIX)

Change-Id: I008ca00cf9695133ff167ffdee8d8dfb89beb598
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2017-04-06 11:22:03 -07:00
Honghao Liu
3f148d954b ASoC: msm: update TDM slot mapping and FE DAI array
Update TDM slot mapping and add hostless FE DAI for customized
sound card on automotive platform.

CRs-fixed: 2024584
Change-Id: I08c2765972405e6dfbbcd6d2590109e119b92423
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
2017-04-06 11:08:59 -07:00
Yida Wang
d45e41bf0c seemp: fix code analysis issues
Fix code analysis issues related to seemp, such as, variables might
be used uninitialized, and array may use index values larger than its
size.

Change-Id: Ic537ece4d00ac3d72d679359b60999df473f8710
Signed-off-by: Yida Wang <yidaw@codeaurora.org>
2017-04-06 11:28:55 -04:00
Linux Build Service Account
41941e18ba Merge "sched/debug: Make the "Preemption disabled at ..." message more useful" 2017-04-06 05:39:40 -07:00
Linux Build Service Account
4594178f22 Merge "leds: qpnp-flash-v2: Fix pinctrl configuration" 2017-04-06 05:39:39 -07:00
Linux Build Service Account
48dc2c760d Merge "msm: vidc: Re-calculate buffer requirement" 2017-04-06 05:39:38 -07:00
Linux Build Service Account
67e7d195f1 Merge "msm: vidc: Prioritize debugfs timeout control over dtsi entry" 2017-04-06 05:39:37 -07:00
Linux Build Service Account
19b4666123 Merge "ARM: dts: msm: add support for sharp wuxga split link panel" 2017-04-06 05:39:36 -07:00
Linux Build Service Account
b1ddc9f5e3 Merge "msmcortex: Enable PPP related defconfigs" 2017-04-06 05:39:35 -07:00
Mukesh Kumar Savaliya
cbea40b0e1 spi: spi_qsd: Disable packing for unaliged non DMA mode transfers
SPI core has a characterstic that it always sends data in FIFO word size
when we compress the data and fill the FIFO. This helps to improve the
overall througput but sometimes for the data transfers which is not
aligned to FIFO Word [i.e 4] it pads extra bytes and sends out which can
mislead spi slave device.

Do not enable packing if it's a FIFO mode transfer and data size is not
aligned to FIFO word size.

Change-Id: I28f4e3e38db4b882f229c00aa54aabdc72d2c139
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2017-04-06 04:43:05 -07:00
Maulik Shah
ea093498dd msm-core: Fix uninitialized sampling work
Sampling work can be accessed by do_sampling kthread
before init. Fix this by initializing sampling work before
using.

Change-Id: I790ce50fcddbcd08861e31fea9bde839d6fbb7cc
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2017-04-06 16:51:48 +05:30
Naresh Munagala
08f9cd2ae7 pps-gpio: Timestamp alignment with boottime
GPS driver which makes use of PPS timestamp expects time
with respect to boot time. Existing pps_get_ts function
doesn't return time from the boot so replaced this function
with get_monotonic_boottime function which returns elapsed time
from the boot.

Change-Id: I8f656a1c4ef43f6314d4ab295a177125bcc8195e
CRs-Fixed: 1012438
Signed-off-by: Naresh Munagala <nareshm@codeaurora.org>
2017-04-06 01:48:33 -07:00
Govind Singh
fb1bdfec50 ath10k: synchronize restart work with FW ready indication
ath10k restart work needs to be scheduled after FW is ready
during SSR/PDR.

Synchronize restart work with FW ready indication.

Change-Id: I1cd93f4d1913e34c0714e717735c026a5c4faf1d
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-04-06 01:03:19 -07:00
Mukesh Kumar Savaliya
d0aa676fad spi: spi_qsd: Merge back throughput improvements done for small transfers
These changes will merge back the enhancemnts done to improve the medium
side transfers. This was reverted temporarily till the fix identified.

Change-Id: Ib7ac92ecefe7ca3ff9f03716c51dc31b8322ee33
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2017-04-06 11:35:07 +05:30
Sayali Lokhande
7e83faf328 Revert "sd: Fix rw_max for devices that report an optimal xfer size"
This reverts 'commit 9814eb7549 ("sd: Fix rw_max for devices
that report an optimal xfer size")'.
Max sectors limit for request queue(q->limits.max_sectors) is reduced
from 1024 to 16 sectors by above commit and causing performance impact
(reduced by upto 50%). Hence revert the change to fix the performance
issue observed on 8998.

Change-Id: I9abd2be6c90922ea9de818912f405e0d292a62b8
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-04-06 10:12:38 +05:30