Commit graph

572172 commits

Author SHA1 Message Date
Devesh Jhunjhunwala
154574cfc6 leds: qpnp-flash-v2: Add operational current property
Add the qcom,current-ma property to specify the operational
current for the flash led. Also limit the minimum flash current
to 25mA since currents below this value cause unstable flash
operation.

CRs-Fixed: 1033071
Change-Id: Ia133b6c0cf0c21484f61631f04cba0d1112c9d48
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-07-08 11:52:36 -07:00
Meng Wang
69feba98b2 ARM: dts: msm: remove VMBMS feature for msmcobalt
VMBMS is used for accuracy improvement during voice call. It is
not supported on msmcobalt. It is moved to FG driver,
VMBMS is not needed anymore. Remove it from msmcobalt device tree.

CRs-Fixed: 1038038
Change-Id: Ib01b649633ef8d7e15791fa9b1bd0d7a3fbffc5d
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-07-08 11:52:35 -07:00
Deepak Katragadda
6623166c55 clk: msm: clock-gpu-cobalt: Support running the gfx3d_isense clock at XO
Update the frequency table for the gfx3d_isense_clk_src RCG to
include configuring it to run at 19.2 MHz.

CRs-Fixed: 1038944
Change-Id: I072a9d3ca906e311fa4f34119c42d92828dccedb
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-07-08 11:18:46 -07:00
Mayank Rana
4b9c8b0b53 usb: phy: qusb-v2: Add USB QUSB PHY for newer platform
This change adds USB QUSB PHY v2 driver which is compatible
for USB QUSB PHY having major revision as 2.

Change-Id: I1751352ebbe38d4b8c7886085d15043c2e5244f5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-07-07 16:02:07 -07:00
Ping Li
a3cb6c089a msm: mdss: Fix deadlock in AD code
AD calc_worker vsync thread acquires the AD lock inside the function,
so the call to cancel the AD calc_worker vsync thread cannot be within
the AD lock.

Change-Id: Ice78f43721916110f52c3393f78c3a1868976821
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-07-07 10:22:15 -07:00
Devesh Jhunjhunwala
5706479242 ARM: dts: msm: Add torch nodes to flash-led for pmicobalt
Add support for torch mode by adding torch nodes to the
flash-led device for pmicobalt. Also update the dt-bindings
documentation accordingly.

CRs-Fixed: 1024187
Change-Id: I640106abcf05949f2570efd42f925f1f73bdaa81
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-07-06 15:43:46 -07:00
Hariram Purushothaman
bb4f495a72 msm: camera: Return HAL buffer to fix drain issues
Return the HAL buffer to avoid drain issue
and provide the get buf by index interface so clients
can get buffer based on index.

CRs-Fixed: 1018651
Change-Id: I20329a6834f5f1498388c39b1dd95db2896b3239
Signed-off-by: Hariram Purushothaman <hariramp@codeaurora.org>
2016-07-06 15:43:27 -07:00
Nicholas Troast
d6c6b61a88 qcom-charger: qpnp-smb2: expose AICL settled current through USB psy
There is a requirement to expose the settled input current limit via a
power supply property. Add it.

Change-Id: I1a7b77e3a64da245afd0c4f73c8d04627a061ada
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-07-06 15:43:16 -07:00
Hemant Kumar
acb4a10799 usb: xhci: Add helper APIs to return xhci dma addresses
dma address of secondary event ring, transfer ring and
device context base address are required to pass to
remote entity. Remote entity uses these addresses to
program xhci controller registers.

Change-Id: Ie0756d646a396a11b41b93e886bca9aff636ee5d
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-06 15:43:05 -07:00
Hemant Kumar
350d4585e1 usb: xhci: Add support for secondary interrupters
Implement APIs to dynamically allocate and free secondary
event rings based upon interrupter number. Also add exported
APIs in usb core layer which allows secondary event ring
management via remote processor entity.

Change-Id: I5ee7d44d6cad8e35e22d3c1a027a1eec5d208585
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-06 15:43:00 -07:00
Hemant Kumar
b27f238201 sound: usb: Add helper APIs to enable audio stream
Adding helper API to find usb substream context information
using card number, pcm device number and direction. This usb
substream is used to enable/disable by issuing SET_ALT
command to device. Also add disconnect call back to perform
any clean up required.

Change-Id: I252f5171bd94b5ab096eb1a2f053f29a8c049c3b
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-06 15:42:43 -07:00
Phani Kumar Uppalapati
55cdf93234 ASoC: pcm: Update RX shutdown sequence
Update RX shutdown sequence so that codec
path gets tear down first followed by cpu dai.
This will avoid slim port underflow/overflows
when slim data protocol is changed.

Change-Id: I6e3582fa010d18d4e0ccfde319dfc4d81af1351f
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-07-06 15:42:22 -07:00
Bhalchandra Gajare
9464621a10 ASoC: core: Fix possible NULL pointer de-reference
Fix the soc_find_component function to make sure either the of_node or
the name is provided to compare against the registered components to fix
possible NULL pointer de-reference.

CRs-fixed: 925138
Change-Id: Ic1f02c341c06cadcfe6de638ff6c86e51845e59f
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-07-06 15:41:25 -07:00
Yuanyuan Liu
b72eb30dea icnss: Add support of enable HW debug from module parameter
Add support of enable HW debug feature from ICNSS module parameter.
The setting will be passed to WLAN FW through QMI during subsequent
WLAN enable.

Change-Id: I02036d79fca38ff9ac71c70de8aa144b9cfb2f59
CRs-Fixed: 980027
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-07-06 15:41:14 -07:00
Tatenda Chipeperekwa
f47beac193 msm: mdss: hdmi: fix deep color enable and audio clock
Enable deep color only for msmcobalt platform. Furthermore,
adjust the pixel clock reported to the audio driver when
deep color is enabled so that it matches the clock configured
when the interface is turned on.

CRs-Fixed: 1034047
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Change-Id: I48a767f7673defe60156c305e39f1ce4aa44306b
2016-07-06 15:41:02 -07:00
Maulik Shah
f600d8b9ec msm-core: Move get_user out side critical section
get_user is not needed inside critical section. Move
it outside to avoid kernel crash due to sleeping
function called from invalid context.

Change-Id: I29a54dca6620dc75356067ce6ff9a0931b4d0724
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2016-07-05 15:36:22 -07:00
Aravind Venkateswaran
a6a26ac3c4 msm: mdss: dsi: update ULPS entry/exit sequence
Disable low power receiver and contention detection receiver
(LPRX and CDRX) along with lane LDOs when entering ULPS.
Similarly, enable LPRX, CDRX and the lane LDOs when exiting ULPS.
This fixes some issues where ULPS exit was failing resulting in
the display panel becoming unresponsive.

CRs-Fixed: 1035315
Change-Id: I3ed7eeb463aff6c77962d4f1d46b27e7fb5dd103
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-05 15:36:02 -07:00
Shiv Maliyappanahalli
569a62b8dd msmcobalt: fix channel configuration for SLIMBUS
Channel count for SLIM_RX_6 port cannot be set
since get_port_idx() returns invalid port id which
resulting in invalid channel configuration for headset
usecase. Fix by adding SLIM_RX_6 case in get_port_idx().

Change-Id: Iadd3e995d044198c711f744c11b62cec2f7902c0
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-07-05 15:35:48 -07:00
Aravind Venkateswaran
94dbc90bb4 msm: mdss: dsi: enable LPRX and CDRX only for logical data lane 0
The low power receiver (LPRX) and contention detection receiver (CDRX)
need to be enabled only for the physical data lane corresponding to the
logical data lane 0. Modify the code to implement this while accounting
for any possible data lane swap configurations.

CRs-Fixed: 1035315
Change-Id: I0082109fc3c0a56af3f181ae0b063c56aa7095f2
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-05 15:35:31 -07:00
Arun Kumar Neelakantam
a619160ab2 ARM: dts: msm: Add node for QSEE IPC IRQ bridge for msmcobalt
Add the device for bridging an Inter-Processor Communication(IPC)
interrupt from a remote subsystem directed towards Qualcomm Technologies,
Inc. Secure Execution Environment(QSEE).

CRs-Fixed: 1021749
Change-Id: Ib86b3f70a71f222f0ddc1ea49c75cd7d94c47546
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2016-07-05 15:35:19 -07:00
Ingrid Gallardo
c458c3a519 ARM: dts: msm: add jdi landscape panel for msmcobalt
Add required settings for command mode and video
mode jdi lanscape panels in msmcobalt CDP/MTP. Add
panels to the list of supported panels so they can
be selected at runtime from kernel command line.

Change-Id: Iae1361997653784c4248b0d2ed2a7deac3bc4d4b
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-07-05 15:35:07 -07:00
Ingrid Gallardo
e7276ab8c0 ARM: dts: msm: configure display 5v panel supply GPIO for msmcobalt
Add support to configure the gpio51 that controls
the 5v supply required by multiple panels.

Change-Id: I45e190261330ffe2f742ae0c460fc53270e165c2
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-07-05 15:34:55 -07:00
Siddartha Mohanadoss
6e8583cdf3 thermal: tsens: Enable TSENS controller health monitor
Temperature sensor (TSENS) driver health monitor periodically
sets a very low temperature threshold on the critical trip zone
and polls to check if the trip is set. This is done on a deferred
workqueue and helps provide indication on the health of the
TSENS controller.

Change-Id: I4b16db429fead5c731dec289f0360682c92775b8
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-07-05 15:34:41 -07:00
Siddartha Mohanadoss
3c541a8f37 ARM: dts: msm: Update TSENS sensors for msmhamster
Temperature sensor (TSENS) driver provides clients ability
to read on-die temperature sensors. Update the total
number of sensors supported for msmhamster on TSENS
controller 1 and corresponding sensor controller index.

Change-Id: I8c9ba4ed230c94d124f9c02e9e18a77cdb6befa5
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-07-05 15:34:38 -07:00
Siddartha Mohanadoss
52e8201e7b thermal: tsens: Enable TSENS for msmhamster
Temperature sensor (TSENS) driver provides ability to
thermal clients to read from on-die temperature sensors.
msmhamster supports reading from 20 on-die temperature
sensors and clients can set temperature thresholds and
receive notification.

Change-Id: I57e98f2182d0c44e9c7cffec3528bb926a878fb8
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-07-05 15:34:24 -07:00
Siddartha Mohanadoss
b55de1ea89 ARM: dts: msm: Disable TSENS on RUMI and SIM platform
Temperature sensor (TSENS) driver supports perodic monitoring
of the TSENS controller and can cause a false positive on
RUMI and SIM platform if the temperature values are
not valid. Therefore disable the driver on these platforms.

Change-Id: I9d38f6f1580eafef9de841418b9a9f022ef30b69
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-07-05 15:34:18 -07:00
Banajit Goswami
0d8b39635c ASoC: msm: q6dspv2: add SLIMBUS6 RX routings for Slimbus 7/8
Slimbus TX 7 and 8 would need to be connected to Slimbus RX 6
for different use cases using loopback in AFE. Updated necessary
routings for supporting the loopback.

CRs-Fixed: 1036018
Change-Id: I46c797a6550884bf42a2d7763590047d2e750906
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2016-07-05 15:34:03 -07:00
Manaf Meethalavalappu Pallikunhi
be375a03c7 msm: thermal: Add support to monitor only one tsens for MX restriction
Currently VDD MX restriction feature monitors all tsens for low
temperature condition. Some targets which has higher MX restriction
thresholds shows frequent interrupts from multiple sensors causing
power impact.
Add support to monitor only one sensor for VDD MX restriction feature.
Add an optional device tree property "qcom,mx-restriction-sensor_id"
to specify sensor id for monitor. If not defined, monitor all tsens
for VDD MX restriction.

Change-Id: Ib709b00c27f43c2603ac8a08b75f2fbd5800983b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2016-07-05 15:33:53 -07:00
Arun Kumar Neelakantam
86eb5bd26d defconfig: arm64: msm: Add defconfigs for QSEE IPC IRQ bridge
Enables the drivers for bridging an Inter-Processor Communication(IPC)
interrupt from a remote subsystem directed towards Qualcomm Technologies,
Inc. Secure Execution Environment(QSEE).

CRs-Fixed: 1021749
Change-Id: I7406d49369ccf3951f95f72136195a3630789453
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2016-07-05 15:33:40 -07:00
Mitchel Humpherys
83822a290d ARM: dts: msm: Fix interrupt type for a few IRQs
The interrupt types for a few SMMU IRQs are incorrect.  Fix them.

CRs-Fixed: 1037068
Change-Id: Ic45e1ec592bf0503d456ad1029e32dfea5d63bf1
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2016-07-05 15:33:29 -07:00
Runmin Wang
d9c13c26bd defconfig: arm64: enable run queue stats driver for msm chipsets
Enable the run queue stats driver to support IRQ balancer.

CRs-Fixed: 1033709
Change-Id: I38694774013625d514fc9812b4b28c36f4a2471e
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-07-05 15:33:12 -07:00
Satya Durga Srinivasu Prabhala
1ae65a3957 drivers: GICv3: remove isb() from IAR read function
As per the GICv3 requirement, ISB or other context synchronization
operation is needed only during System register writes.

CRs-Fixed: 1035275
Change-Id: Ifbe4d974a295b90a511aa10bde5797a1f71972fc
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-07-05 15:32:55 -07:00
Veera Sundaram Sankaran
bf33a59c14 msm: mdss: skip panel type node change during resolution switch
The panel type sysfs node indicates the type of panel that
is currently in use, either video or cmd mode. This is
updated after every dynamic switch. Currently, this node
is updated to an invalid value during dynamic resolution switch.
Skip the setting as the mode is not changed during resolution
switch.

Change-Id: Ic002ad587eeade068561c0e9f1d29aeb1689ada5
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:32:41 -07:00
Tatenda Chipeperekwa
10edfdd309 msm: mdss: hdmi: fix clock parsing
Fix the clock parsing logic to remove the hard coding
of clock names in the HDMI driver. Update the clock parsing
logic to rely on reading the clock configurations from the
device tree and update the HPD and CORE power modules
appropriately.

CRs-Fixed: 1032282
Change-Id: Ia7324f6443b3db5d55113a221dc0791bb5a38799
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-07-05 15:32:20 -07:00
Rama Krishna Phani A
0e56b701ef ARM: dts: msm: Add SPS node for msmfalcon
Add SPS module to device tree. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: I4f71ba8115f009028ae4ddf6a7847d1885b4458c
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2016-07-05 15:32:05 -07:00
Veera Sundaram Sankaran
40920ca470 msm: mdss: force revalidate layers after resolution switch
Avoid skipping validation for all layers during ATOMIC_COMMIT
validate call after dynamic resolution switching. Though the
configs remain the same for few layers, revalidation is required
based on the new resolution as the src_split and other settings
might have changed.

Change-Id: I3f1f2e09c90e8ff1a6380e35ed9e980b5c2be46c
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:31:53 -07:00
Veera Sundaram Sankaran
2bb0363c03 msm: mdss: handle used_buf during overlay off with invalid switch state
There might be cases where driver gets the resolution switch
request followed by suspend or adb shell stop. In such cases,
since the ctl parameters are already reconfigured, driver skips
the NULL kickoff during overlay off due to invalid switch state.
This leads to memory leak as the used_bufs are left intact. Fix
by moving the used_bufs to free_list, so that memory can be freed
later and also leaves the buffer list clean.

Change-Id: I80c6ad2dc85da0427ac7ba1c127f0aa044a81c09
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:31:41 -07:00
Veera Sundaram Sankaran
95eadad55b msm: mdss: add dynamic resolution switch support during handoff
Add support to handle dynamic resolution switch request during
cont-splash handoff, even before driver receives the first commit.
The cmd_panel_on is ideally called right before the first kickoff,
if the panel is not already on. Make explicit panel_cmd_on call during
reconfigure to match with the ctl_stop/ctl_start done during the
process of switching. This would make sure complete cleanup and
re-configuration of the ctl is done.

Change-Id: I98469b14284195caaf17a616137a0502e0e398cf
[veeras@codeaurora.org: Resolved conflicts in mdss_mdp.h]
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:31:30 -07:00
Veera Sundaram Sankaran
8370151cfe msm: mdss: match pixclock calculation for videomode and fb var
When multiple panel timings are available and enumerating videomode
list, pixclock is calculated using htotal, vtotal and refresh rate.
But fb var struct is populated with actual pixclock value calculated
by DSI. This pixclock mismatch would cause issues, when usermode
does GET_VSCREENINFO/PUT_VSCREENINFO. Fix by using the same pixclock
calculation for both structures.

Change-Id: I42bfc40b5904ec80f20b296e3b4610ca3b2c5ee0
[veeras@codeaurora.org: Resolved conflicts in mdss_fb.c]
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:31:19 -07:00
Veera Sundaram Sankaran
5e6e59afed msm: mdss: add capability to parse multiple panel roi alignment
Add device tree parsing logic to parse multiple panel alignment roi for
different panel resolutions. Add alignment roi as part of the panel
timing struct, so that it would be updated whenever resolution switch
happens.

Change-Id: I14ee1a4947312c4c36927adcbffad847f9062fd6
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:31:04 -07:00
Veera Sundaram Sankaran
df73dce85c msm: mdss: add dynamic resolution switch support for DSC panels
Reconfigure the DSC parameters and DSI stream according to the
new resolution. Mandate the first frame after dynamic resolution
change for DSC panels to be full frame updates. Send PPS command
based on the device tree entry before or after the switch commands.
Fix device tree parsing of DSC parameters within the switch timing
node. Add sub-nodes in target specific device tree to configure
target specific timing and switch commands.

Change-Id: I6aa5f8f972b16645b219bf6274036b6e5dac6dda
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:30:48 -07:00
Adrian Salido-Moreno
db2b74c456 msm: mdss: validate current switch state before commit
If mode switch is currently in progress, then proper state machine of
calls is expected. If these calls are not observed then it could lead
to issues during display commit, because of incomplete update.
Add checks for current mode switch state to prevent improper state
during commit.

Change-Id: I31dae6e15761fc745efd79edbe1070af992db904
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:30:35 -07:00
Adrian Salido-Moreno
42d8f87406 msm: mdss: handle blank while mode switch in progress
When display is getting blanked while mode switch in progress, we
cannot have additional kickoff trigger for cleanup as the state hasn't
been properly transitioned. Instead we can clear the state and destroy
control path to start clean on next update.

Change-Id: I34af01550d79e0d7d465f2c7f873508c296160dd
[veeras@codeaurora.org: Resolved conflicts in mdss_mdp_overlay.c]
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-07-05 15:30:24 -07:00
Ashish Jain
99fc247e1b ASoC: msm: qdsp6v2: DAP: Add check to validate param length
To avoid buffer overflow, validate input length used to
fetch visualizer data.

CRs-Fixed: 1033540
Change-Id: I445d1ba3bce47308bc31ae24a70d5ee358f22a2d
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2016-07-05 15:30:12 -07:00
Ashish Jain
9f4741169e ASoC: msm: qdsp6v2: DAP: Allocate param buffer with correct size
Size of param buffer should be big enough to hold param length
of data and param payload.

CRs-Fixed: 1033525
Change-Id: I6fa58f87a7c7df5f0485ea5b368ea090eb8bedb4
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2016-07-05 15:30:01 -07:00
Andrey Markovytch
ee5829be00 md: dm-req-crypt: Separate qcrypto from ICE path
During the ICE based FDE path, qcrypto functions been called,
which is invalid. So update dm-req-crypt driver to separate
ICE from qcrypto path.

Change-Id: I1ff3121471baa761624e0ce39ee96dd0b8497454
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-07-05 15:29:47 -07:00
Abdulla Anam
77063f91dc msm: vidc: Fix use of unininitialized variables.
Fix use of uninitialized variables. Add checks for out of bound
array access.

CRs-Fixed: 997966
Change-Id: I66973d7dcc0988dba36da4b3c0e01484847a7a7e
Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
2016-07-05 15:29:02 -07:00
Sungjun Park
d17e102e1d bluetooth: Add support for clocks
On some platforms, clock needs to be controlled by Bluetooth
driver. Add support for that by obtaining it through a device
tree property and use it for voting when required.

Change-Id: I42a16f6dc8d5c11963713ae489ca6d8c9bf927e5
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2016-07-05 15:28:53 -07:00
Josh Kirsch
c0494b3e29 drivers: soc: Add buffer overflow check for svc send request
Add buffer overflow check in voice_svc_send_req.

CRs-fixed: 1010081
Change-Id: I4ae703334b0cf04f327b392bc9cd6febd4ad32f2
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
2016-07-05 15:28:38 -07:00
Sridhar Ancha
fabcd63ec0 msm: ipa: Fix queuing the inactive timer work on perf cluster
Using schedule_delayed_work will cause work queues to be scheduled
on the CPU where the timer expires. This can make work to be scheduled
on perf cluster resulting in power issues. Make changes to use
queue_delayed_work on an unbound workqueue so that the work gets
scheduled based on the load and mostly it gets scheduled in power
cluster.

Change-Id: I13605eea5fb3e7eeece1d8c81334981ea7de9cb9
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
2016-07-05 15:28:23 -07:00