Commit graph

584920 commits

Author SHA1 Message Date
Prakash Gupta
b95657a9d2 ARM: dts: msm: add MBA carveout for sdm630
Add MBA carveout of size 2MB after ADSP region and a buffer
region of size 1 MB in sync with v3 memory map.

Change-Id: Iaab9c43310d9ee4764ac73367bff3a448ea1f4d4
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2017-03-06 16:12:44 +05:30
Linux Build Service Account
796d604a03 Merge "msm: mdss: Fix AVR flush for split control path" 2017-03-05 12:38:08 -08:00
Linux Build Service Account
7a1822a443 Merge "msm: mdss: flush timing after splash done for video panel" 2017-03-05 12:38:07 -08:00
Linux Build Service Account
fc0f8e4fab Merge "msm: mdss: add support for DP PLL driver on sdm630" 2017-03-05 12:38:06 -08:00
Linux Build Service Account
0022c06fc8 Merge "USB: gadget: midi: Replace snd_card_free with snd_card_free_closed" 2017-03-04 23:34:13 -08:00
Linux Build Service Account
ee3c2b2d74 Merge "msm: mdss: validate qseed3 params" 2017-03-04 10:12:55 -08:00
Linux Build Service Account
d2499ee89d Merge "mmc: core: Retry claim host in mmc_sd_detect" 2017-03-04 10:12:54 -08:00
Linux Build Service Account
77610431cb Merge "defconfig: enable VT driver for mediabox" 2017-03-04 02:56:20 -08:00
Linux Build Service Account
776a0506ed Merge "ASoC: codecs: add cable connect/disconnect acknowledgment" 2017-03-04 02:56:19 -08:00
Linux Build Service Account
62be936f95 Merge "msm: pcie: add the checking of userspace input length" 2017-03-04 02:56:18 -08:00
Linux Build Service Account
b398385a00 Merge "msm: camera: Lack of copy_from_user in camera driver." 2017-03-04 02:56:17 -08:00
Veerabhadrarao Badiganti
e9cc73402e mmc: core: Retry claim host in mmc_sd_detect
Use mmc_try_claim_host with a timeout instead of mmc_claim_host in
mmc_sd_detect. This is to ensure that mmc rescan work item is doesn't
get blocked on claim_host for longer period.

In the pm_suspend path, we cancel the mmc_rescan work item.
If this work item is already scheduled, suspend would be blocked till
mmc_rescan gets finished. In case, mmc_rescan is blocked on claim_host
lock, pm_suspend could get blocked for longer period.  This can result
in momentary UI freeze since pm_suspend is blocked for longer duration.
This change is to prevent this scenario.

Change-Id: Ib93bae6745a153bad3579ae42f46c3c3a7c1b95a
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-03-03 18:55:32 -08:00
Linux Build Service Account
b64db613f2 Merge "usb: dwc3: Replace sscanf with kstrtou8_from_user" 2017-03-03 17:39:29 -08:00
Linux Build Service Account
743e265eb5 Merge "clk: qcom: Use the saved current frequency for enable_safe_config" 2017-03-03 17:39:28 -08:00
Linux Build Service Account
a7554a335c Merge "power: fg-util: Fix the address mask for secure_write check" 2017-03-03 17:39:27 -08:00
Linux Build Service Account
ea9c12138d Merge "qcom: smb-lib: fix adapter allowance for PM660" 2017-03-03 17:39:26 -08:00
Linux Build Service Account
2a9195b87f Merge "msm: ipa3: fix DMA memory allocation success check" 2017-03-03 17:39:25 -08:00
Linux Build Service Account
22cc32a067 Merge "msm: ipa: Remove usage of stack memory" 2017-03-03 17:39:24 -08:00
Linux Build Service Account
085e108910 Merge "alarmtimer: Program mpm wakeup time in milliseconds" 2017-03-03 17:39:23 -08:00
Linux Build Service Account
6897134f74 Merge "msm: mhi_uci: Add support for platform devices" 2017-03-03 17:39:22 -08:00
Linux Build Service Account
f13bb40b09 Merge "ARM: dts: msm: Update SDCC bus voting for SDM660" 2017-03-03 17:39:21 -08:00
Linux Build Service Account
92751c23bd Merge "ARM: dts: msm: add sink capabilities to PM660 PD PHY" 2017-03-03 17:39:20 -08:00
Linux Build Service Account
e6e0a5df5f Merge "ath10k: Remove bus structures from ath10k struct" 2017-03-03 17:39:19 -08:00
Linux Build Service Account
048676be41 Merge "Merge tag 'lsk-v4.4-16.12-android' into branch 'msm-4.4'" 2017-03-03 17:39:18 -08:00
Linux Build Service Account
c0e191cd70 Merge "ARM: dts: msm: Add Nfc device to sdm630" 2017-03-03 17:39:17 -08:00
Linux Build Service Account
9b591f82cc Merge "USB: f_mtp: Perform vfs_write under mutex protection" 2017-03-03 17:39:16 -08:00
Linux Build Service Account
9067d4454d Merge "sched/rt: Fix PI handling vs. sched_setscheduler()" 2017-03-03 17:39:16 -08:00
Linux Build Service Account
2b5b362f11 Merge "msm: kgsl: Change GPU RAC hardware clockgating on SDM660" 2017-03-03 17:39:15 -08:00
Linux Build Service Account
064ad70ba3 Merge "defconfig: Enable REGMAP_ALLOW_WRITE_DEBUGFS for sdm660" 2017-03-03 17:39:14 -08:00
Manish Poddar
88ad6090d3 msm: camera: Lack of copy_from_user in camera driver.
In msm_copy_camera_private_ioctl_args function in
msm_buf_mgr camera driver arg is pointing to an address
in userspace and not kernel.
Done changes to use copy_from_user to fix it.

Change-Id: Ia9b747dcf86b448656a5d3676455ccb4eccd4e5a
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
2017-03-03 02:25:19 -08:00
Manoj Kumar AVM
26dc184bbb defconfig: enable VT driver for mediabox
Enable CONFIG_VT in msmcortex mediabox defonfig. This is needed for
Weston compositor functionality.

CRs-Fixed: 2002381
Change-Id: Id7d57d4b1862252af40fe1d8b296a4e5a8ee0fba
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
2017-03-02 20:11:33 -08:00
Manu Gautam
38fb1003b1 USB: gadget: midi: Replace snd_card_free with snd_card_free_closed
snd_card_free is a blocking function which waits for ALSA device to
be closed before freeing it. This could be blocked forever if userspace
has device node opened when midi function is unbound.
Replace it with snd_card_free_when_closed which can be safely used if
userspce has the device node opened.
It is not a blocking function and defers freeing of the card until
userspace closes the ALSA device.

Change-Id: I6becc44dc0f0c1131f9b7dcd1e4a151d830dde2b
CRs-fixed: 1116790
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2017-03-02 13:30:20 -08:00
Kuirong Wang
5701970e9e ASoC: codecs: add cable connect/disconnect acknowledgment
Add support for cable connect/disconnect acknowledgment
between HDMI/DisplayPort audio codec driver and display
driver to replace sysfs node mechanism.

CRs-Fixed: 2013097
Change-Id: I3b385a5e9933f7e99f1dbb9848a2664f687bd7d7
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2017-03-02 13:10:16 -08:00
Anirudh Ghayal
9ce8217d4f power: fg-util: Fix the address mask for secure_write check
For the 16-bit FG peripheral register address check the lower-byte
for secure_access instead of the upper-byte.

CRs-Fixed: 2013922
Change-Id: I647aa4eadccb007e6e974eae65cef162c5a40a0d
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-03-03 00:04:09 +05:30
Ashay Jaiswal
16d8287180 qcom: smb-lib: fix adapter allowance for PM660
PM660 only supports VBUS voltage upto 9V, add
support to limit adapter allowance to maximum 9V for
PM660.

Change-Id: I283d5b1105cd9ad397a484982d674acf97f31f8a
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-03-02 23:07:04 +05:30
Linux Build Service Account
2a7bbea49b Merge "msm: mdss: handle synchronization issues during DSI debugfs read/write" 2017-03-02 08:27:04 -08:00
Linux Build Service Account
ac88759295 Merge "msm: vidc: Return correct error code from venus_hfi_suspend" 2017-03-02 08:27:03 -08:00
Linux Build Service Account
2caf0b2fcd Merge "msm: vidc: Add support for Cx ipeak limitation" 2017-03-02 08:27:02 -08:00
Linux Build Service Account
1543b55dce Merge "ARM: dts: msm: Remove debug_timeout property for msm8998" 2017-03-02 08:27:01 -08:00
Linux Build Service Account
f1921bde73 Merge "msm: vidc: Add support for querying controls" 2017-03-02 08:27:00 -08:00
Linux Build Service Account
892273039e Merge "msm: vidc: Initialize DCVS load properly" 2017-03-02 08:26:59 -08:00
Linux Build Service Account
3ad6b7e9f4 Merge "soc: qcom: Propagate separate error code for PDR disabled" 2017-03-02 08:26:59 -08:00
Linux Build Service Account
86aba807c8 Merge "leds: remove unused driver leds-qpnp-flash.c" 2017-03-02 08:26:58 -08:00
Linux Build Service Account
240cfdc172 Merge "ARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD" 2017-03-02 08:26:57 -08:00
Linux Build Service Account
07138c3906 Merge "ARM: dts: msm: Add support for sdm630 QRD board" 2017-03-02 08:26:56 -08:00
Ghanim Fodi
243a07207f msm: ipa3: fix DMA memory allocation success check
IPA allocates memory for Filtering and Routing tables
by the DMA memory allocation Linux APIs.
The code did not check the success of allocation
correctly. This change fixes the check.

CRs-fixed: 2014060
Change-Id: I95a170f19e3becfc2b90bf5931947c0637464257
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-03-02 07:34:16 -08:00
Mohit Aggarwal
738d2a8fea alarmtimer: Program mpm wakeup time in milliseconds
Currently, mpm wakeup time is programmed in seconds
due to which there is a possibility that wakeup
happens later than the expected time. This patch
fixes the issue by programming the mpm wakeup time
in milliseconds.

CRs-Fixed: 2010001
Change-Id: I5c4905a0386e60ae54876f30d89f445fd06a161c
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2017-03-02 03:05:45 -08:00
Maulik Shah
47beb3017e cpuidle: lpm-levels: Update suspend wake time
Alarmtimer will send suspend wake time in milliseconds
instead of seconds to minimize round off errors. Update
lpm-levels accordingly.

Change-Id: I58c780993ce35cda69cd963996f057d6e2265c6d
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2017-03-02 15:48:35 +05:30
Govind Singh
58ce0d4576 ath10k: Remove bus structures from ath10k struct
ath10k struct is bus opaque structure.
Remove bus structures from ath10k struct to make it
bus independent.

Change-Id: Ifb82e1fc4525c535e8a19f95bd4da006294be203
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-03-01 22:20:55 -08:00
Sayali Lokhande
adad17d072 ARM: dts: msm: Update SDCC bus voting for SDM660
On SDM660, for sdcc there are two msm-bus paths:
1. AGGNOC->SNOC->BIMC
2. CPU->CNOC->SDC_CFG
For SDCC DATA-FIFO or DPRAM, write clock is HCLK
and read clock is MCLK for TX transactions and
vice-versa for RX transactions.
As both HCLK and MCLK are being used for data
transfers ,we need to provide bus bandwidth vote
from CPU(id:1) to SDC_CFG(id:606) which will be
used for register access and data transfers.

By default on sdm660, we observed cnoc_clk at only
19.2MHz which is very less and hence affecting eMMC
performance (drop upto 50%) for read/writes.
This change is updating bus voting from CPU to CNOC
and helps improving eMMC performance.

Change-Id: I9e3dadf307444be464a42f4a518b44e3f6e98a75
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-03-02 09:39:35 +05:30