Commit graph

575111 commits

Author SHA1 Message Date
Prashanth Bhatta
7f94163f80 icnss: Top level reset if clocks are dead
During recovery, if not able to force enable hardware clocks then
do top level reset only.

CRs-fixed: 1067868
Change-Id: Ie23ca022c94cd214a9e415e9fb774055cfaf881d
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-16 16:15:11 -07:00
Runmin Wang
95a1ccc130 defconfig: msmcortex: Remove panic on SBE
Remove panic on single bit cache error because single bit error
can be corrected.

Change-Id: Id14ffa45a1326e47adc847c012e9ac21c6954990
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-16 15:29:55 -07:00
Runmin Wang
a9a0da48eb edac: cortex: Remove WARN_ON messages
Remove warn_on message since the required CPUMERRSR and L2MERRSR
info is already printed in the dmesg.

Change-Id: I2e93bcd1e84d43bc7a58af0be02d5337d936d4ee
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-16 15:24:07 -07:00
Venkat Gopalakrishnan
c3d29d4864 phy: qcom-ufs: remove warnings for optional clocks
tx_iface_clk and rx_iface_clk does not exist in newer version
of ufs-phy HW, hence remove the missing clk warnings for them.

Change-Id: Ic8dd3e9521159ce8da064da38cfa12e75f07209f
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-16 15:14:08 -07:00
Tony Truong
e218ba7d2e msm: pcie: initialize var in GPIO init function
It is possible a variable will be accessed before
it is ever initialized. Properly initialize this
variable when it is declared.

Change-Id: Id1523786f1c87449ed3943f1726766dad6a4ade2
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-16 14:39:18 -07:00
Ingrid Gallardo
362342211d msm: mdss: avoid shutting down PHY PMIC regulators
As part of the PHY shut down sequence, current driver
disable the phy pmic regulators. This is not the
expected sequence, so make sure the pmic phy
regulators stay enabled.

Change-Id: Ia65a71347666ed9fa3f6bf92fe7c573638301254
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-09-16 14:36:48 -07:00
Linux Build Service Account
8a8abceb69 Merge "ARM: dts: msm: add new clk for native playback on msmcobalt" 2016-09-16 09:22:04 -07:00
Linux Build Service Account
a146b61be9 Merge "ASoC: wcd9335: Add ANC support on speaker path" 2016-09-16 09:22:04 -07:00
Linux Build Service Account
6635751452 Merge "ASoC: wcd934x: update TX modes" 2016-09-16 09:22:01 -07:00
Linux Build Service Account
eb79baaa6b Merge "ASoC: wcd934x: add handset speaker gain mixer control" 2016-09-16 09:22:01 -07:00
Linux Build Service Account
504c6dd5d1 Merge "drivers: mfd: set IIR and ANC registers as volatile" 2016-09-16 09:22:00 -07:00
Linux Build Service Account
7ba1c55052 Merge "ARM: dts: msm: enable bwmon4 for cpubw monitor for msmcobalt" 2016-09-16 09:21:59 -07:00
Linux Build Service Account
93470de0ae Merge "msm: kgsl: Trigger preemption from preemption complete interrupt" 2016-09-16 09:21:58 -07:00
Benjamin Chan
870adafb68 msm: sde: Move SDE rotator timeout evtlog outside of spinlock
During an timeout event in the SDE rotator driver, a spinlock with IRQ
is disabled in order to capture the rotator hw status registers. If
during this time performs an evtlog timeout logging, a mutex_lock
within the logging sequence will cause a panic. We must and only should
perform the evtlog timeout logging after the spinlock is released.

CRs-Fixed: 1067811
Change-Id: I56b7e5713069ad8ac8d5ae43a492a0ab0f4e82ff
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-09-16 08:55:22 -07:00
Linux Build Service Account
6c104f8d40 Merge "ASoC: audio-ext-clk: avoid multiple initialization of pinctrl_info" 2016-09-15 22:51:56 -07:00
Linux Build Service Account
a97736505b Merge "ASoc: wcd934x: correct High-Z mode for dmic pins" 2016-09-15 22:51:55 -07:00
Linux Build Service Account
e3aa58fcc0 Merge "coresight-tmc: save TMC registers during abort" 2016-09-15 22:51:54 -07:00
Linux Build Service Account
cd31b17afd Merge "ASoC: wcd_cpe_core: add arch_setup_dma_ops call" 2016-09-15 22:51:53 -07:00
Linux Build Service Account
5025a44c78 Merge "ASoc: wcd9335: correct native playback widget on msmcobalt" 2016-09-15 22:51:52 -07:00
Linux Build Service Account
144554c35d Merge "msm: ipa: Allocate memory on send message" 2016-09-15 22:51:52 -07:00
Linux Build Service Account
38f8a6a313 Merge "input: touchscreen: pull down reset and interrupt pin before GT9xx powerup" 2016-09-15 22:51:49 -07:00
Linux Build Service Account
4ab368becd Merge "usb: gadget: gsi: Kick state machine with MESSAGE_PACKET_FILTER for RNDIS" 2016-09-15 22:51:48 -07:00
Linux Build Service Account
27332002f8 Merge "sound: usb: Send explicit device disconnect to clients" 2016-09-15 22:51:48 -07:00
Sudheer Papothi
865796aea8 ASoC: wcd9335: Add ANC support on speaker path
On msmcobalt reference platform, earpiece path is not connected
to receiver, instead speaker path is used as receiver. So handset
AANC(Adaptive Active Noise cancellation) needs to be supported
on speaker path. Change enables ANC support on speaker path.

Change-Id: I8104994adc30810085cce73662f5abd5e15106ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-15 22:20:30 -07:00
Vidyakumar Athota
fd2b9f1daf ASoC: wcd934x: add handset speaker gain mixer control
In msmcobalt platform, speaker path is used for handset mode also.
Add the mixer control to change gain in handset mode.

Change-Id: Ia291f7449cd04a855102a03324f7cdcb6f13dad0
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-15 22:09:15 -07:00
Meng Wang
35b034ff27 ASoC: audio-ext-clk: avoid multiple initialization of pinctrl_info
Dynamic detection between wcd9335 and wcd934x codecs is supported on
msmcobalt. Probe sequence of the two codec drivers can occur in any
order. MCLK initialization is common for the two codecs which gets
called twice. Avoid wcd934x codec's probe sequence from resetting
wcd9335 codec's native mclk pinctrl if the pinctrl is already
initialized.

CRs-Fixed: 1066167
Change-Id: Idf65e15e08bb856d65b992b996cffa6ef2e6f974
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-09-15 20:49:30 -07:00
Bingzhe Cai
45e3baf40b input: touchscreen: pull down reset and interrupt pin before GT9xx powerup
According to vendor's suggestion, reset pin and interrupt pin must be
pulled down before touchpanel controller power up. This is required
for all Goodix devices.

Change-Id: If16fab02967abbd0c2a6e4365fed76f9e8729bc2
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2016-09-15 20:49:04 -07:00
Shantanu Jain
b3ba6ab788 input: touchscreen: Add devm_kzalloc calls to goodix driver
Change the kzalloc calls to devm_kzalloc calls to
avoid explicit kfree calls. Remove redundant kfree calls
to avoid double free. Fix error check path on devm_kzalloc
return values. Also remove redundant goto labels.

Change-Id: I62f0ff800318882067bc0f16b021cb344e340ecf
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-15 20:48:52 -07:00
Shantanu Jain
452a316d0b input: touchscreen: Clean initialising linux kernel code
Use designated initializer code in gt9xx_update.c and
goodix_tool.c Goodix drivers.

Change-Id: Idc5b45c09813486c926ce52b2d41e81df526219b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-15 20:48:36 -07:00
Shantanu Jain
65d8af3092 input: touchscreen: Use macros for magic numbers in Goodix drivers
Use macros instead of  magic numbers for maximum i2c retries in
Goodix driver.

Change-Id: I9f7da9f43418cd1d423aaf331f41d37d13f248d4
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-15 20:48:28 -07:00
Meng Wang
26b1f0d337 ASoc: wcd934x: correct High-Z mode for dmic pins
Update the DMIC CLK and DATA registers to use the correct
settings required for DMIC High-Z on wcd934x. Registers
should be set to 0x6 for Slimbus mode and 0xD for I2C mode.

CRs-Fixed: 1059712
Change-Id: Ibe8ca2e40ee56708e8c84c174d12ce5841e6b1ce
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-09-15 18:22:11 -07:00
Mayank Rana
427369cd5f Revert "usb: gsi: Queue control notification on gsi_resume"
This reverts commit <fae741edccb> ("usb: gsi: Queue control
notification on gsi_resume") as expected notification is not
queued resulting into mismatch of QMI transaction packet.

CRs-Fixed: 1067006
Change-Id: I4abdd79699d47054e268978aae9199f1d5d1ddcb
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-15 17:54:44 -07:00
Shashank Mittal
4a76273947 coresight-tmc: save TMC registers during abort
TMC abort needs to save TMC registers so that TMC data can be extracted
from device crash dumps.

Change-Id: I4339e84dc62e589e0f4d341e8143b1cd94a9cbe2
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-09-15 16:45:02 -07:00
Sunil Paidimarri
7bd2a476f7 msm: ipa: Allocate memory on send message
On client pushing message, allocate memory for event
data and copy before pushing to clients. This is to
avoid crash if client goes away before freeing the
memory.

Change-Id: Icff40d68d9b60617e8e3eb006eb697194b4e61f6
CRs-Fixed: 1065499
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2016-09-15 16:38:56 -07:00
Vidyakumar Athota
b1c1140108 drivers: mfd: set IIR and ANC registers as volatile
IIR and ANC registers are not cacheable so add them to
volatile register list.

Change-Id: I99e45021ca90138b73aebe1f13a6af0f42c58227
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-15 14:05:29 -07:00
Vidyakumar Athota
37e939f466 ASoC: wcd934x: add adaptive ANC support
WCD934X codec supports adaptive ANC(Active noise cancellation)
on ear and speaker path. Add the required changes to support
this feature.

Change-Id: I2a069fc208b080c1251f7aa473ae75ad02e883c8
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-15 14:04:13 -07:00
Zhen Kong
028ed55749 defconfig: arm64: msmcortex: enable MSM_TZ_LOG for msmcobalt
Enable TZlog driver in msmcortex-perf_defconfig to
collect TZ log for msmcobalt

Change-Id: I9cebd73d2165af47fb15a5916753365b4b7562bc
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-09-15 13:10:22 -07:00
Zhen Kong
12f9041489 qseecom: Change whitelist_support flag to false if TZ failed to check
The whitelist status is set default as true though TZ failed to check,
which in turn causing the send_command fail by passing whitelist commnd id.
So updating the support status flag to false when TZ fails to check.

Change-Id: I78a7600506b4d2457bb1c38f8a39888a9cf9467c
Signed-off-by: Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-09-15 10:49:14 -07:00
Yeleswarapu Nagaradhesh
d2fa003e12 ASoC: wcd934x: update TX modes
Update codec TX modes for Analog microphone.

CRs-Fixed: 1066331
Change-Id: I19d38a63805e69d53ebd6fda48b094315133a6aa
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-09-15 09:10:52 -07:00
Yeleswarapu Nagaradhesh
ea965ee6e8 ASoC: wcd934x: add support for HPH modes
Headphones support classH and classAB. Add support for
hifi, lowhifi, low power and ultra low power modes for classH.
Support hifi and lowhifi power modes for classAB.

CRs-Fixed: 1066331
Change-Id: I846f9704a5bf800583682f8dc2ec385a0ec64c61
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-09-15 09:10:24 -07:00
Yeleswarapu Nagaradhesh
971aeb6add ASoC: wcd: modify tasha version check macros
TASHA_IS_1_1 macro checks only for version number.
This macro returns true for tavil codec. So modify
tasha macros to check for codec and version.

CRs-Fixed: 1066331
Change-Id: I5240e0ee888187a8185974ea288ce2cad62bd776
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-09-15 09:10:08 -07:00
Mayank Rana
b23d321b0a usb: gadget: gsi: Kick state machine with MESSAGE_PACKET_FILTER for RNDIS
commit <5b42bd749e8c> ("usb: gadget: gsi: Optimize TRB's buffer
allocation functionality") is kicking ipa_work_handler state
machine as part of set_alt() for RNDIS function which results
into giving max_xfer_size_bytes_to_host value as zero as
RNDIS_INIT_MSG from host may not have received here. This results
into low throughput due to device is sending more than accepted
aggregated bytes as part of one USB transfer to host. Fix this
issue by delaying RNDIS IPA initialization till MESSAGE_PACKET_FILTER
is received from host which makes sure that proper aggregation
parameters are passed to IPA driver to configure hardware
accerlerated path.

For non-rndis tethered interface, ipa_usb_notify_cb() posts EVT_CONNECTED
to enable IPA GSI data path (i.e. calling ipa_data_path_enable() API).

CRs-Fixed: 1065003
Change-Id: I4ce62745c82b4488cb1370248ab64951497493cd
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-15 08:55:40 -07:00
Linux Build Service Account
d2afad6a90 Merge "ext4 crypto: enable HW based encryption with ICE" 2016-09-15 07:33:11 -07:00
Linux Build Service Account
893e744eac Merge "ARM: dts: msm: Update the GDSCs for MSMfalcon" 2016-09-15 07:33:10 -07:00
Linux Build Service Account
5c84417703 Merge "ASoC: msm: Create the codec entry for wcd934x codec" 2016-09-15 07:33:09 -07:00
Linux Build Service Account
ab41a65b08 Merge "ASoC: msm: qdsp6v2: Enable support for multichannel tunnel USB" 2016-09-15 07:33:08 -07:00
Linux Build Service Account
444860e890 Merge "ASoC: wcd934x: Add API to enable standalone micbias" 2016-09-15 07:33:07 -07:00
Linux Build Service Account
b3253a1a3a Merge "msm: kgsl: Use A540 zap shader for msmcobalt" 2016-09-15 07:33:05 -07:00
Linux Build Service Account
e643ee5a1b Merge "regulator: core: Fix nested locking of supplies" 2016-09-15 07:33:05 -07:00
Linux Build Service Account
d2477562f0 Merge "qcom-charger: smb2: Only change wipower watts if defined in dtsi" 2016-09-15 07:33:04 -07:00