Commit graph

575020 commits

Author SHA1 Message Date
Linux Build Service Account
d39931458e Merge "Revert "usb: gsi: Queue control notification on gsi_resume"" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
72c2d923b9 Merge "msm: sde: Move SDE rotator timeout evtlog outside of spinlock" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
a8db147fc1 Merge "USB: f_accessory: Fix NULL pointer dereference in acc_read()" 2016-09-17 21:07:16 -07:00
Linux Build Service Account
f18d5b789d Merge "msm: camera: Add support for camera on version 2 of msmcobalt" 2016-09-17 12:59:53 -07:00
Linux Build Service Account
1befebc47d Merge "icnss: Handle multiple PD down notifications" 2016-09-17 12:59:52 -07:00
Linux Build Service Account
c93a92750e Merge "icnss: Top level reset if clocks are dead" 2016-09-17 12:59:52 -07:00
Prashanth Bhatta
7b2f56361b icnss: Handle multiple PD down notifications
During recovery, if another PD down notification received because
of crash then handle the case. If debug enabled then BUG_ON to
debug the second crash.

CRs-fixed: 1067873
Change-Id: I6e8e92ca0ee11830f933e198fea502c915d36e59
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-16 16:15:30 -07:00
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
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
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