Commit graph

574796 commits

Author SHA1 Message Date
Sudhakar Manapati
d0d1f78347 input: ft5x06_ts: remove proximity sensor support
remove psensor support as the linux/sensors.h file is not yet merged
in msm-3.18 kernel.

Change-Id: I6d46b35938b7420072f9245ffa27bb59f28d5e03
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-30 22:16:55 -07:00
Sudhakar Manapati
11489ea70f input: sensors: change sensors classdev device's parent to input devices
Sensor HAL takes long time to scan /dev/input to get information
from input subsystem. Change sensors sysfs hierarchy to avoid
the scanning to reduce sensor HAL initialization time.

Change-Id: Ifcd560dacdba2600f2ae5d40a5c3e639ea291274
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-30 22:16:46 -07:00
Mao Li
d81508ebf8 input: ft5x06_ts: correct the status of the pocket mode
Do not need to call function to enter pocket mode if the touch
panel is already in pocket mode as well as no need to call function
to leave pocket mode if it is not in pocket mode.

Change-Id: Ic26376bebeba8e7f0dd37ef3bfbbed36c621604b
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:16:39 -07:00
Mao Li
4c6290a14f input: ft5x06_ts: fix compiling error in FT CTP driver
Change dev_debug to dev_dbg to fix compiling error
if CONFIG_TOUCHSCREEN_FT5X06_PSENSOR is enabled.

Change-Id: Ic228ac8b6dec0bc3e1aaff890dc5b1b7c024bdfc
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:16:18 -07:00
Mao Li
eb86decf8f input: ft5x06_ts: do not free input_dev after unregister it
Once the input device is successfully registered via
input_register_device(), it has to be unregistered via
input_unregister_device(); input_free_device()
should not be called in this case. input_unregister_device()
frees the input device, hence the call to input_free_device()
is a double free. This is also described in comments of
input_unregister_device().

Reorganize the code to avoid a double free.

Change-Id: I7abee3f1ad6c73e1c38aa64e627ffd73f6f9d3b2
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:15:45 -07:00
Mao Li
1a0b4f1561 input: ft5x06_ts: add gesture feature support
Focaltech touch controller FT6436 support new feature Screen-off-Gesture.
It is able to turn on the screen by drawing gestures on the touch screen
when the screen is during off status. Enable the FT CTP driver to support
the screen off gesture recognization.

This patch is propagated from msm-3.18 kernel.
'commit 5cc0bff80d65 ("input: ft5x06_ts: add gesture feature support")'
Also cleared the following checkpatch warnings.
- Missing a blank line after declarations
- Missing a blank line after declarations
- Comparisons should place the constant on the right side of the test.

Change-Id: I77d111d3ef800b636a337221d7e605f746a113dd
Signed-off-by: Mao Li <maol@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-30 22:15:36 -07:00
Mao Li
ff1443ebaa ARM: dts: msm: correct Focaltech CTP irq flag configuration
Fixed below irq flag issues of Focaltech CTP:
Focaltech CTP firmware generates edge interrupt to MSM, but the
interrupt type in DTSI is level, which will cause CTP interrupt
cannot wake up MSM when system is in deep sleep. Fix this by
setting edge irq flag in DTSI.

For GPIO irq, the irq flag should be specified in "interrupts"
node. Msm_gpio module will only use the lower 8-bit of
"interrupts" node and discards the upper bits. If we specify
0x2002 in "interrupts" node, the upper bits(0x2000) is not used
by msm_gpio, only lower bits(0x2) is used, that means only
lower bits(0x2) should be set in "interrupts" node.

"focaltech,irq-gpio" node is used to specify gpio property,
rather than irq flag. Remove the irq flag setting in this node.

In driver code, specify only "IRQF_ONESHOT". The irq trigger type
is specified by DTSI "interrupts" node. See above.

Change-Id: I4cd8596fb4538b701317f01a6cafaa771041ffdd
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-08-30 22:15:27 -07:00
Phani Kumar Uppalapati
a83a9add55 ASoC: wcd934x: Use minimum phase for RX interpolation filter
Use minimum phase for RX interpolation filters on WCD934X
codec for better audio performance.

CRs-fixed: 1054908
Change-Id: Ibc0656c878f1bac6ac9b3b7c9e7a471d969e2b8c
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-08-30 19:51:26 -07:00
Hemant Kumar
d725519976 usb: phy: handle phy related regulators properly
Currently driver is enabling all the regulators in probe
even if usb cable is not connected which has power impact.
Hence enable regulators before the phy initialization sequence
and move regulator_set_voltage & enable/disable API for vdd supply
in msm_ssusb_qmp_ldo_enable() to handle all the regulators from one
place.

Change-Id: Ibc4cf8328c209dbf968b7d6c498e1462397be351
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-30 19:14:34 -07:00
Prashanth Bhatta
a3a3c169dd icnss: Prevent power collapse during driver probe/remove
Race condition observed during driver probe/remove and
suspend/resume because suspend/resume is not serialized
to work queue. Fix this problem by holding a wake lock
during wlan driver probe/remove to prevent system
suspend/resume.

CRs-Fixed: 1061279
Change-Id: Iad1c9abbdbaea21d4c55d64a6c120d3bcf0df1eb
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-30 17:18:27 -07:00
David Collins
dc7b8213dd ARM: dts: msm: update VDD_GFX CPR ceiling voltages for msmcobalt v2
Hardware characterization has shown that some parts require
higher voltage in order to operate reliably.  Therefore, raise
the CPR ceiling voltages for the VDD_GFX CPR regulator in order
to allow higher open-loop voltages.

Change-Id: I8c4ceaa2703c15c1f590befb9397d47da9f9c1e9
CRs-Fixed: 1054539
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-08-30 16:23:24 -07:00
Prashanth Bhatta
5fc63ed649 icnss: Fix logic to wait for WCSS out of retention
WCSS may take upto 400us to get out of retention. Fix the polling
logic to wait for more than 400us before proceeding with the
reset sequence.
Also do not send mode request to firmware during recovery.

CRs-fixed: 1060725
Change-Id: Id19518a12fe8a0acffd725b25dbcb0240bdbf446
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-30 14:56:42 -07:00
Sreelakshmi Gownipalli
01ef1d9a56 diag: Do not open glink channel twice
When diag receives two link state notifications it tries to
open the glink channel which is already open. Add a check to
not open the channel if the channel is already open.

Change-Id: I5818d2731b53af37d796d421c5ae9a4b7fa52405
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2016-08-30 14:19:20 -07:00
Bryse Flowers
f889e67f37 netfilter: xt_quota2: 3.18 netlink notification fix
Create a virtual device inside of sysfs.  Use the created
kobject to notify userspace of counter transitions.

Bug: 24140541
CRs-Fixed: 1008025
Change-Id: I06a02a3e6c70160083e17291cf08f1e9b375a26f
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
2016-08-30 14:17:42 -07:00
Pramod Gurav
14f40931b3 tty: serial: msm: Add runtime PM and system sleep support
Add runtime pm and suspend/resume callback support to serial msm
driver so that clock resources are managed runtime to save power.

CRs-Fixed: 1061290
Change-Id: If2004dcf19649f68cc8fbe0506799d3c700293ff
Signed-off-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-08-30 13:18:57 -07:00
Vamsi Krishna Samavedam
ead56d2e27 ARM: dts: msm: Update qusb2 efuse address for msmcobalt-v2
Efuse parameters are used to update qusb analog tuning values.

Change-Id: I4bc919ba7cf24d73cbc6cac392e00f81005bf64c
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-08-30 12:32:20 -07:00
Vamsi Krishna Samavedam
a2a11fab43 usb: phy: qusb: Update tune1 param from efuse register
Tune1 HSTX_TRIM parameter varies from part to part and needs to
be programmed using fused values. Update the code to read
the efuse register and update tune1 parameter. On previous
platforms this used to be tune2.

Change-Id: I7a2efa3c2409ba5dbb1ae9581738518b9457a971
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-08-30 12:32:19 -07:00
Vamsi Krishna Samavedam
153c58621c ARM: dts: msm: Update qusb2 phy init sequence for msmcobalt v2
Update the sequence to include tune1 and tune2 parameters. While
at it update the comments to include register names.

Change-Id: Ib8ff42a6e05c0065b19e977eb56f6b96a78fcf39
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-08-30 12:32:19 -07:00
Vamsi Krishna Samavedam
b7c8e2b080 ARM: dts: msm: Update tcsr_clmap signal for msmcobalt
Update the tcsr_clamp_dig_n signal and phy init sequence
to reduce the random leakage from qusb2 phy. Random leakage
can result from turning on/off analog power rails
before/after digital power rails.

Change-Id: Id51a2d34f61c0a41891551d15b706872abf13809
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-08-30 12:25:33 -07:00
Mohamad Ayyash
ae258564e4 Replace %p with %pK to prevent leaking kernel address
BUG: 27532522
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Git-commit: 066b75616cf93e7c3caa323a372bc22058791bd0
Git-repo: https://android.googlesource.com/kernel/msm
(cherry picked from commit 1ff4ea16e6df22383a7386d3937019deb63c5fdc)
Change-Id: I493d3b27cfeaaf63e3cf584c7048514d4d38905d
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
2016-08-30 12:24:14 -07:00
Vamsi Krishna Samavedam
299063819e usb: phy: qusb: Set clamp_dig_n signal based on usb status
Analog and digital power rails connected to the phy can be turned
on/off in any order. This may result in random leakage in the phy
as it expects certain power rails to be on/off in certain order.
Avoid random leakage on qusb2 phy by
1. Disable pll when phy is suspended/disconnected.
2. Reset and assert clamp dig_n signal to put dp/dm lines in high
   impedance state.

Change-Id: I1bafa7f824af8bbb3f67a71b81bf23b0a9c7164e
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-08-30 12:22:35 -07:00
Ghanim Fodi
a1e8c020b5 msm: ipa3: Fix wrong parameter to xdci release function
xdci release function is called during xdci connect
failure cleanup. A bug passing the tethering protocol
to the function instead of the tethering type caused
it to fail and cease the cleanup operations.

Change-Id: I6337f93c13678c9256dfd46825f9a317cdaa0a1b
CRs-fixed: 1057013
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-30 19:10:16 +03:00
Linux Build Service Account
ab26d09879 Merge "msm: mdss: Fix to validate data copied from user space" 2016-08-30 05:43:46 -07:00
Linux Build Service Account
019b7d0c64 Merge "msm: vidc: Compare ion_handles rather than fds" 2016-08-30 05:43:45 -07:00
Linux Build Service Account
a3d968ba61 Merge "msm: vidc: Amend DCVS condition" 2016-08-30 05:43:44 -07:00
Linux Build Service Account
37b89f3848 Merge "msm: ipa: WDI2.0: hotspot offload using WDI 2.0 interface" 2016-08-30 05:43:43 -07:00
Linux Build Service Account
81d6052b05 Merge "msm: kgsl: Change %p to %pK in debug messages" 2016-08-30 05:43:42 -07:00
Ghanim Fodi
915354544a msm: ipa3: Fix timeout period of IPA resource add dependency
Currently the timeout period of IPA resource add dependency
is HZ jiffies (1 second). We have seen situations
where this timeout period is too small especially on heavy
loaded system with debug log enabled.
Enlarge the period to 5 HZ jiffies.

Change-Id: Ia678276ed1c3c223b1cedd1e6e8713ca06aefd14
CRs-fixed: 1057013
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-30 04:29:05 -07:00
Komal Seelam
fcf844fbdd cnss: Reset QCA Card during WLAN SubSystem Recovery
During SSR, we observe cases where card enter bad state
and does not responding to any I/O commands. Fix it by
powering off and on the card.

Change-Id: Ia3ab2781c93d1cfe7427e2b1c2644f6628f6465f
CRs-Fixed: 1058794
Signed-off-by: Komal Seelam <kseelam@codeaurora.org>
2016-08-30 14:49:30 +05:30
Ghanim Fodi
634732c1bb msm: ipa3: fix GSI ring DMA allocation parameters
DMA coherent allocation was done with inappropriate
flags causing memory allocation to fail occasionally.
Use GFP_KERNEL flag as well as fix up some cleanup
actions.

CRs-Fixed: 1060305
Change-Id: I93c9340439dd65c50764dd078071bf66f65a9464
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-30 01:35:19 -07:00
Fenglin Wu
ff68805c65 pinctrl: qcom: spmi-mpp: Correct DTEST rail calculation
The DTEST1 rail selection value in the MODE_CTL register is not 0. Use
the proper offset value when calculating the value to write into the
MODE_CTL register.

Change-Id: Ia09aa072116d244abdd7ad0d92cc55e0aeba8efc
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 15:10:35 +08:00
Fenglin Wu
f0629e4f28 pinctrl: qcom: spmi-mpp: Add dtest route for digital input
Currently, the driver selects dtest rail specified in "qcom,dtest"
property as the output source in digital output mode. Add another
property "qcom,dtest-buffer" to specify which dtest rail to feed
when the pin is configured as a digital input.

Change-Id: I9e1ae5a64d633c7cdc6a1eb710932ca19ef5fe85
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 15:09:15 +08:00
Fenglin Wu
f090e5b7cc pinctrl: qcom: spmi-mpp: Set drive-strength for sink function
Write drive-strength setting into SINK_CTL register to make sink
function work.

Change-Id: I0b6e273b846a8e07c5b36d03a20edddfd895e9c0
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 15:03:39 +08:00
Stephen Boyd
cc54c7c347 pinctrl: qcom: Add generic ssbi and spmi GPIO/MPP bindings
The drivers don't really need to know which PMIC they're for, so
make a generic binding for them. This alleviates us from updating
the drivers every time a new PMIC comes out. It's still
recommended that we update the binding with new PMIC models and
always specify the specific model for the MPPs and gpios before
the generic compatible string in devicetree, but this at least
cuts down on adding more and more compatible strings to the
drivers until we actually need them.

Change-Id: I4ea4c511108f37cbfae0a5ccaaaeadadcae37254
Cc: <devicetree@vger.kernel.org>
Acked-by: "Ivan T. Ivanov" <iivanov.xz@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Git-commit: 647dbd1e84871f6c0548f7fbb46eefc4da21f783
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 15:03:26 +08:00
Stephen Boyd
d1402bbe5f pinctrl: qcom: Use platform_irq_count() instead of of_irq_count()
of_irq_count() is not an exported symbol (and it shouldn't be
used by platform drivers anyway) so use platform_irq_count()
instead. This allows us to make the qcom pinctrl drivers modular
again.

Change-Id: Ia2d8a0fc303af5ce6d34703f63bc61dfa0e5d148
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn@kryo.se>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Git-commit: a5ea13f025e7bf3bb280a22f5fe63b7159358932
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 15:01:18 +08:00
Stephen Boyd
11f95b1a64 driver-core: platform: Add platform_irq_count()
A recent patch added calls to of_irq_count() in the qcom pinctrl
drivers and that caused module build failures because
of_irq_count() is not an exported symbol. We shouldn't export
of_irq_count() to modules because it's an internal OF API that
shouldn't be used by drivers. Platform drivers should use
platform device APIs instead. Therefore, add a platform_irq_count()
API that mirrors the of_irq_count() API so that platform drivers
can stay DT agnostic.

Change-Id: I34cfc11feb2fbc2acc41e3697006d86a3cad3445
Cc: Andy Gross <andy.gross@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Git-commit: 4b83555d5098e73cf2c5ca7f86c17ca0ba3b968e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 14:59:38 +08:00
Stephen Boyd
e841045b42 pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins
The number of interrupts is always equal to the number of pins
provided by the PMIC gpio and MPP hardware blocks. Count the
number of irqs to figure out the number of pins instead of adding
more compatible strings or doing math on the reg property. This
should make the code more generic and ease the number of changes
we have to make to the driver for each new pmic revision.

Change-Id: I52ce5ad8a5c4a79187dc94403dc0704d83f0549c
Cc: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Andy Gross <agross@codeaurora.org>
Reviewed-by: Björn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Git-commit: ab4256cfeab91569e1d96e7f0014538fe0845259
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[fenglinw@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-08-30 14:59:24 +08:00
Harry Yang
87ec324a67 qcom-charger: introduce step charging
This algorithm allows for programmable charge current values
based on programmable thresholds on state-of-charge (SoC).

Adjusting battery charge current based on the battery SoC
may lead to extended battery capacity over number of charge
cycles.

Charging profile to be used relies on battery characterization
data from battery cell manufacurers.

CRs-Fixed: 1052854
Change-Id: I8844a3e8428b045514863d72c08f6c6b2b2ac2a4
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-08-29 21:48:57 -07:00
Linux Build Service Account
166af733db Merge "scsi: ufs-qcom: skip svs2 configuration for newer controllers" 2016-08-29 19:14:22 -07:00
Linux Build Service Account
78170f03d5 Merge "mfd: qcom-i2c-pmic: prepare for shared interrupt" 2016-08-29 19:14:22 -07:00
Linux Build Service Account
1f2cf9a987 Merge "defconfig: arm64: Add coresight abort support for msmcobalt" 2016-08-29 19:14:21 -07:00
Linux Build Service Account
6f177c586e Merge "ARM: dts: msm: add audio codec as child of MSM External display" 2016-08-29 19:14:20 -07:00
Linux Build Service Account
1c39aaa3b8 Merge "msm: qpnp-haptic: Update function declarations" 2016-08-29 19:14:19 -07:00
David Dai
646894a3b6 ARM: dts: msm: change ebi buswidth for msmhamster
Change the ddr width from 8 to 4 for msmhamster, due to
ddr width being halved in hardware.

Change-Id: I40f5972be54393813ad04b07c032f494888ad5e8
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2016-08-29 18:03:58 -07:00
Mayank Rana
fae741edcc usb: gsi: Queue control notification on gsi_resume
There is delay seen in queueing notification when response is
available after performing function remote wakeup. This change
queues control notification from gsi_resume() for RMNET/MBIM and
ECM case when notify_count is 1 (i.e. remote wakeup is performed
but notify request is not queued.) to make sure that host is
notified before it timeouts for response and starts data transfer.

CRs-Fixed: 1033093
Change-Id: Ic55667df93c8bd51df06b48709bc420c082fbcf5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-08-29 17:38:42 -07:00
JP Abgrall
97a4ac881a nf: xt_qtaguid: fix handling for cases where tunnels are used.
* fix skb->dev vs par->in/out
When there is some forwarding going on, it introduces extra state
around devs associated with xt_action_param->in/out and sk_buff->dev.
E.g.
   par->in and par->out are both set, or
   skb->dev and par->out are both set (and different)
This would lead qtaguid to make the wrong assumption about the
direction and update the wrong device stats.
Now we rely more on par->in/out.

* Fix handling when qtaguid is used as "owner"
When qtaguid is used as an owner module, and sk_socket->file is
not there (happens when tunnels are involved), it would
incorrectly do a tag stats update.

* Correct debug messages.

Bug: 11687690
Change-Id: I2b1ff8bd7131969ce9e25f8291d83a6280b3ba7f
CRs-Fixed: 747810
Signed-off-by: JP Abgrall <jpa@google.com>
Git-commit: 2b71479d6f5fe8f33b335f713380f72037244395
Git-repo: https://www.codeaurora.org/cgit/quic/la/kernel/mediatek
[imaund@codeaurora.org: Resolved trivial context conflicts.]
Signed-off-by: Ian Maund <imaund@codeaurora.org>
[bflowers@codeaurora.org: Resolved merge conflicts]
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
2016-08-29 13:59:18 -07:00
Benjamin Chan
aeb8d34871 msm: sde: Fix SMMU fault in SDE rotator for secure playback
When playing secure content, framebuffer is setup as secure in the
rotator. But the sw timestamp is not going through the secure
route, and must clear out the secure setting, otherwise a smmu fault
will be issued. This fix make sure the secure buffer status is
cleared during the sw timestamp submission.

CRs-Fixed: 1059620
Change-Id: Ifb0f9928fa1d948351e6fc1ad925a070a7f50a96
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-29 13:06:55 -07:00
Ping Li
53bfdf149f msm: mdss: Update MDP memory retention sequence for msmcobalt
msmcobalt requires MDP clks ON when configuring the retention bits of
MDSS_MDP_CBCR and MDSS_MDP_LUT_CBCR registers, so that the retention
signals can be propagated to memories. This change adds the code
to support the new requirement.

Change-Id: I75b83ce99f061104641188c0f0d3d6cd3e0cfb09
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-08-29 11:38:56 -07:00
Benjamin Chan
3990c6a17a msm: sde: Fix SDE rotator driver error handling
Initialize some local variables before using them and safely return an
error code when encounter error cases in the SDE rotator driver.

CRs-Fixed: 1060558
Change-Id: I25406b13ac2007f1789d8d32e428c39dac4c29cf
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-29 11:24:53 -04:00
Utkarsh Saxena
c6d6062033 msm: ipa: WDI2.0: hotspot offload using WDI 2.0 interface
Add support to enable WDI 2.0 interface on IPA version 2.6.1
which is used in falcon.

Change-Id: Id6460f21245808b739ad215fe8073ae7cae8422c
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2016-08-29 07:49:51 -07:00