Commit graph

573660 commits

Author SHA1 Message Date
Linux Build Service Account
c185b7a8e4 Merge "soc: qcom: Fix compilation warning/error" 2016-08-16 16:34:55 -07:00
Linux Build Service Account
408492cb84 Merge "defconfig: msm: enable GIC_V3_ACL access control on msmcobalt" 2016-08-16 16:34:54 -07:00
Linux Build Service Account
29d363c8d0 Merge "msm: mdss: remove always source split quirk setting" 2016-08-16 16:34:53 -07:00
Linux Build Service Account
fdcee0ef0c Merge "mdss: display-port: add support for edid read" 2016-08-16 16:34:51 -07:00
Linux Build Service Account
adc801c2ca Merge "ASoC: msmcobalt: remove custom PM QoS for Low-latency playback" 2016-08-16 16:34:49 -07:00
Linux Build Service Account
514b9da1d5 Merge "msm: vidc: fix CONSTRAINED_INTRA_PRED setting" 2016-08-16 16:34:48 -07:00
Linux Build Service Account
f4686dcc3a Merge "msm: kgsl: Add sparse memory support" 2016-08-16 16:34:47 -07:00
Linux Build Service Account
9dbc6e0357 Merge "ASoC: soundwire: fix out of boundary access issues" 2016-08-16 16:34:46 -07:00
Linux Build Service Account
9c0b26c636 Merge "sched/fair: Don't check for migration for a pinned task" 2016-08-16 16:34:45 -07:00
Linux Build Service Account
b7c4e9cc02 Merge "ion: system_heap: Add a new allocation method" 2016-08-16 16:34:43 -07:00
Linux Build Service Account
5a26d9e127 Merge "ion_page_pool: Remove GFP_COMP from page allocation mask" 2016-08-16 16:34:42 -07:00
Linux Build Service Account
771d0f8155 Merge "ion_page_pool: Remove prealloc tracking" 2016-08-16 16:34:42 -07:00
Linux Build Service Account
cae69282b4 Merge "iommu: dma-mapping-fast: Add mmap support" 2016-08-16 16:34:40 -07:00
Linux Build Service Account
a1b3f00279 Merge "arm/arm64: dma-mapping: Fix iova region size" 2016-08-16 16:34:39 -07:00
Linux Build Service Account
5222e961a1 Merge "ARM: dts: msm: Add QoS clocks to MDP nodes for msmcobalt" 2016-08-16 16:34:38 -07:00
Linux Build Service Account
a4bde9aacc Merge "tty: serial: msm: fix definition of msm_stop_dma" 2016-08-16 16:34:35 -07:00
Linux Build Service Account
7998a3bdd8 Merge "tty: serial: msm: Don't read off end of tx fifo" 2016-08-16 16:34:34 -07:00
Linux Build Service Account
11b1a53f38 Merge "tty:serial:msm:Do not restore Rx interrupts in DMA" 2016-08-16 16:34:33 -07:00
Linux Build Service Account
b969c4a9c1 Merge "tty: serial: msm: Only configure MND registers on hw that has it" 2016-08-16 16:34:33 -07:00
Linux Build Service Account
8d9eda8a49 Merge "tty: serial: msm: Move header file into driver" 2016-08-16 16:34:32 -07:00
Linux Build Service Account
016bdcf606 Merge "tty: serial: msm: Support more bauds" 2016-08-16 16:34:32 -07:00
Linux Build Service Account
6eb05033b2 Merge "tty: msm_serial: remove static clk rate setting in probe" 2016-08-16 16:34:31 -07:00
Linux Build Service Account
963e1e0ca7 Merge "earlycon: Use common framework for earlycon declarations" 2016-08-16 16:34:31 -07:00
Linux Build Service Account
d4e8e50daa Merge "msm: camera: sensor: Detect flash_driver_type from dtsi" 2016-08-16 16:34:29 -07:00
Linux Build Service Account
0e55b2f33f Merge "ARM: dts: msm: Add PSCI support for msmfalcon" 2016-08-16 16:34:28 -07:00
Linux Build Service Account
2f64a78307 Merge "clk: msm: clock: Update clock frequencies on MSMCOBALT" 2016-08-16 16:34:28 -07:00
Linux Build Service Account
b3a294e2ac Merge "ARM: dts: msm: Add support for reset clocks for MSM8996" 2016-08-16 16:34:27 -07:00
Linux Build Service Account
a64efebb3c Merge "swr-wcd-ctrl: set pointer to null after kfree" 2016-08-16 16:34:25 -07:00
Linux Build Service Account
000c6aebd7 Merge "msm: mdss: disable scaler for pipes with solid_fill" 2016-08-16 16:34:24 -07:00
Linux Build Service Account
b979d0ca06 Merge "soc: qcom: Initialize message pointer with NULL" 2016-08-16 16:34:23 -07:00
Linux Build Service Account
339312a17b Merge "msm: camera: sensor: Add META10 fourcc" 2016-08-16 16:34:22 -07:00
Linux Build Service Account
3e58ad8cc1 Merge "defconfig: msm: enable IRQ off and preempt off tracers" 2016-08-16 16:34:21 -07:00
Jack Pham
0c924e6706 usb: pd: Fix ERROR_RECOVERY handling
When entering ERROR_RECOVERY, the forced disconnect should
be processed first by queuing the work function to handle it
in the usual way. The required minimum delay should then be
done after this, before restoring the port to dual-role, and
thereby re-establishing the source/sink connection.

Change-Id: I672cdb59277af103045236232e54dc24f9f7fb01
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-08-16 16:26:21 -07:00
Jack Pham
a8967b290f usb: pd: Improve timing accuracy
queue_delayed_work(), which is based on jiffies, is not
appropriate for accurate timing, such as timeouts needing
resolution on the order of milliseconds. Instead introduce
an hrtimer which upon timeout will call regular queue_work().
Redefine timeout values based on the PD spec minimum amounts
as these are generally the minimum time the policy engine
needs to wait before peforming the next action.

msleep() is also jiffies-based, so replace with usleep_range()
for the same reason. Further, PE_SRC_TRANSITION_SUPPLY can
simply be inlined as part of the PE_SRC_NEGOTIATE_CAPABILITY state
using an in-place sleep.

Change-Id: Id8c9eb8937b67d4deaad8b61d9ff2349cbe7f4ed
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-08-16 16:26:21 -07:00
Jack Pham
33213bdef3 usb: pd: pdphy: Handle BIST messages
The QPNP PD PHY supports BIST modes as required by the USB PD
specification. Specifically for BMC signaling, upon reception
of BIST requests to enter Carrier Mode 2 or Test Data Mode,
place the PHY in the appropriate test mode when receiving
these messages in the RX handler.

While at it, remove the unnecessary kmalloc in the RX handler
as the temporary 32-byte buffer can be placed on the stack.

Change-Id: I79f406f7ecc9b938868c383743668df4e579a907
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-08-16 16:25:38 -07:00
Hemant Kumar
c2e565f1e9 sound: usb: Treat find format failure as error
This allows to check if requested format is supported by
usb audio headset by looking at dmesg log.

Change-Id: I3051dd49a1289e4ab46bb59b3537c664a37c3ee5
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-16 15:17:08 -07:00
Mayank Rana
3fb072e4a7 usb: qmp: phy: Make sure QMP PHY write completed
Add explicit write memory barrier before turning off QMP PHY clock to
make sure previous POWER DOWN operation (in disconnect case) or
putting PHY into autonomous mode (in suspend case) is completed.
Similar way add write memory barrier after performing POWER UP
operation (in connect case) or disabling PHY autonomous mode (in
resume case).

Change-Id: I91bb098506eb0c7d5dd6248fad71b8bb9186ea5a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-08-16 14:59:52 -07:00
Oleg Perelet
3b8d63a82b msm: kgsl: Fix sequencing for GPMU performace counters allocation
Operation needs to be read/modify/write. It was write only which
zeroed out bits outside of requested region.

CRs-Fixed: 1055047
Change-Id: I2e010a99ed5961cd501e1eae913c73b3dbee4789
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-08-16 14:53:19 -07:00
Runmin Wang
1cfce723f4 soc: qcom: irq-helper: Change the sysfs print function
Update the size of snprintf function to be PAGE_SIZE, in order
to display the sysfs entry correctly.

CRs-Fixed: 1054946
Change-Id: I75050cb8730f42bc601530b7505e32ec95cf88c0
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-08-16 14:27:59 -07:00
Osvaldo Banuelos
b1bdd7a44f ARM: dts: msm: remove APC CPR regulator handle names for msmcobalt
apc0_pwrcl_vreg and apc1_perfcl_vreg correspond to single
regulators powering the power and performance clusters,
respectively. Remove the incorrect regulator handle name for
APC1 CPR regulator device as well as the APC0 CPR regulator
handle name as both are unnecessary.

CRs-Fixed: 1054399
Change-Id: I936d2f0aa84ec247e070cbb46d525d8ae8ca698f
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-08-16 13:43:29 -07:00
Osvaldo Banuelos
55c5157df0 regulator: cpr3-regulator: support disabling CPRh hardware closed-loop
Allow disabling CPR hardware closed-loop operation via debugfs
on CPRh-compliant controllers. This can be done by setting
either cpr_closed_loop_enable or use_hw_closed_loop to zero.
Both flags must be set to reallow CPRh hardware closed-loop
operation.

CRs-Fixed: 1054095
Change-Id: Ib41f389ab168a747e705446dc621e512f6c95e1a
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-08-16 13:19:15 -07:00
Girish Mahadevan
d64c7bb096 serial: msm_serial_hs: Add extra delay during close with pending tx
In some cases the userspace can do a back to back write() followed by
close(). In such cases the tty framework does account for this by asking
the driver the status of the tx buffer and if not empty wait for a timeout
computed as a function of the current port baud rate.

However in some cases, this timeout doesn't seem sufficient, so when
checking the state of the tx buffer insert an extra delay if not empty
before returning to the framework. This will do a double wait at driver
and at framework, but this shouldn't adversely affect timing of usecases
and the flip side of having a pending byte in the tx buffer can result
in the peer hardware being left in a bad state.

Change-Id: I372e2e1c68f13f5d537ea33980eb63487f31d589
CRs-Fixed: 1044170
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-08-16 13:32:54 -06:00
Haynes Mathew George
4ca358c861 ASoC: msm: Enable use of noirq playback and capture
Enable use of noirq (i.e pull mode and push mode)
playback and capture.

Change-Id: I8edf1eb04ddb4e17c10cc722f30562d24ff1e718
CRs-Fixed: 1054967, 1035545
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
2016-08-16 12:26:22 -07:00
Haynes Mathew George
a76999c37d ARM: dts: msm: Add new pcm device node for msmcobalt
Add new pcm device node to use in the ultra low latency
path in noirq mode.

Change-Id: Icf2cb24f60558ffcd6d458e56d2ff967e9d33fa7
CRs-Fixed: 1054967, 1035545
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
2016-08-16 12:26:00 -07:00
Venkat Gopalakrishnan
4ec56cf5dd scsi: ufs: optimize clock gate work
In a case where gate work is called as part of cancel work
from ungate path the clk state would be marked as REQ_CLKS_ON.
There is no point gating the clocks and then end up turning
them ON immediately in ungate work, save time by skipping the
gate work and change the clk state to CLKS_ON as they are not
turned off yet.

Change-Id: I3e8edf979c94a8e0954fd77e0b158bec8902b4e9
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-08-16 10:49:53 -07:00
Linux Build Service Account
c5984ec85c Merge "ASoC: msmcobalt: Add dai-link for VI feedback" 2016-08-16 10:20:31 -07:00
Linux Build Service Account
06fdcdc800 Merge "ASoC: wcd934x: Enable VI path on WCD9340" 2016-08-16 10:20:31 -07:00
Linux Build Service Account
d2b49c5258 Merge "ARM: dts: msm: add support for msmcobalt v2 CPU clock frequency plan" 2016-08-16 10:20:30 -07:00
Linux Build Service Account
8c11c8ee97 Merge "ARM: dts: msm: Add VDD_APC0/APC1 CPR data for msmcobalt v2" 2016-08-16 10:20:29 -07:00
Linux Build Service Account
cee121e96b Merge "regulator: cprh-kbss-regulator: support per-rev fuse reference voltages" 2016-08-16 10:20:29 -07:00