Commit graph

575210 commits

Author SHA1 Message Date
Linux Build Service Account
d58d587e95 Merge "scsi: ufs-qcom: configure ufs clocks core memory" 2016-09-13 05:43:52 -07:00
Linux Build Service Account
212c5900df Merge "ARM: dts: msm: enable aggre1 ufs hw ctl clock for msmcobalt" 2016-09-13 05:43:51 -07:00
Linux Build Service Account
48e1a69c5f Merge "icnss: Add support of monitoring vph_pwr" 2016-09-13 05:43:50 -07:00
Linux Build Service Account
44da37be57 Merge "crypto: msm: qce50: allocate iovec out of cacheable memory" 2016-09-13 05:43:49 -07:00
Linux Build Service Account
732c56a77c Merge "slim: msm: Avoid registration with notifier if service is not located" 2016-09-13 05:43:48 -07:00
Linux Build Service Account
d3747e3e27 Merge "slim: ngd: Avoid warning associated with TASK_INTERRUPTIBLE" 2016-09-13 05:43:47 -07:00
Linux Build Service Account
3ff89558ca Merge "scsi: ufs: dump hw regs on link failures" 2016-09-13 05:43:46 -07:00
Linux Build Service Account
a10e3ceacb Merge "scsi: ufs-qcom: dump additional testbus registers" 2016-09-13 05:43:44 -07:00
Linux Build Service Account
ea716e4b58 Merge "ARM: dts: msm: add stm dts support for msmfalcon" 2016-09-13 05:43:43 -07:00
Linux Build Service Account
f22aa5fe4b Merge "clk: qcom: Add gate clocks in GCC driver for MSM8996" 2016-09-13 05:43:42 -07:00
Linux Build Service Account
10a152cda4 Merge "clk: qcom: Clean up the MSM8996 Global Clock Control (GCC) driver" 2016-09-13 05:43:40 -07:00
Amir Samuelov
bc718d5081 soc: qcom: add secure processor subsystem (spss) utils driver
The spss-util driver provides utilities required for the SPSS.
It provides the fuse state for key selection.
It provides the SPSS HW version.

Change-Id: I70c37d64db351db86e3d1d5dddb810257c68d72f
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-09-13 04:35:26 -07:00
Abinaya P
278a037a7d input: it7258_ts_i2c: rename regulator_set_optimum_mode function
The function regulator_set_optimum_mode() has been renamed to
regulator_set_load(). So update the driver accordingly.

Change-Id: I7d69a4529368918f159a25769f497e6425838460
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-09-13 03:20:20 -07:00
Shantanu Jain
4e02797d45 input: touchscreen: Correct return value check in Goodix driver
Correct return value check of gtp_read_fw_version, called in probe
of the Goodix driver. The return value is actually the number of
registers read through gtp_i2c_read() function call.
Also change the error message of gtp_check_product_id.

Change-Id: I0b643e250a487f08a19555237802b020b0873d1a
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-13 01:47:03 -07:00
Shantanu Jain
431c5aa98a input: touchscreen: Clean code for i2c_read and i2c_write
Use standard initializer code in gtp_i2c_read and
gtp_i2c_write functions for Goodix touchscreen driver.

Change-Id: Id954be61a0b4596339a659928fb630c5c5538a9a
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-13 01:46:56 -07:00
Shantanu Jain
5741a47581 input: touchscreen: Use proper conventional functions for debug
Replace non-standard debug function with the conventional
functions in Goodix driver. And remove unnecessary debug
function used in Goodix driver.

Change-Id: Ia89d225333c1309710aab67b9c406784567e3050
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-13 01:46:49 -07:00
Meng Wang
c3d1fc7a13 ARM: dts: msm: add new clk for native playback on msmcobalt
MSM GPIO 69 is used as a clock for native playback
on msmcobalt. Add the GPIO 69 configuration along with
pinctrl information.

CRs-Fixed: 1066167
Change-Id: Icd3e82a754867c0f16035a5f3eb7f86ee57c7281
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-09-13 00:38:09 -07:00
Bingzhe Cai
24a8120f34 input: touchpanel: fix security issues in GT915 driver
There are multiple buffer overflow and input validation issues
in Goodix gt915 driver, fix these issues by adding data length
check and change file system node mode.

Change-Id: I5173fc1ca021fd45c939c7c8a4f460651330de5b
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 23:53:48 -07:00
Shantanu Jain
0ddb25d00e input: touchscreen: Add dynamic detection support to Goodix driver
Add dynamic detection support to goodix driver, where
the driver tries to read the chip id and make sure
it is communicating with the right chip.

gtp_read_version is modified to gtp_read_fw_version
which reads the firmware version from the controller
and will be used during fw update process.

Change-Id: I2dc51b84f817413da6bf9b266e2fe7e0bb09c4bc
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 23:53:38 -07:00
Bingzhe Cai
90d5e14e32 input: touchscreen: modify report event according to MT protocol B
Multi-touch(MT) protocol B use input_mt_report_slot_state()
instead of send ABS_MT_TRACKING_ID event directly, so modify
the driver to follow the protocol and remove redundant protocol
A code.

Change-Id: I542e61fabaaa04fcf5fb7e454e10599511f18e39
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 23:52:59 -07:00
Shantanu Jain
c39dd15cf7 input: touchscreen: release all touches before suspend
Release all touches before going to suspend for goodix
gt9xx TS driver.

Change-Id: Ia3446f3c23be4fe29bfea5f85b22e8b903cffb9e
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 23:52:52 -07:00
Figo Wang
6ae8594368 input: makefile: Add makefile and kconfig for GT9xx CTP
Add Makefile and Kconfig to build Goodix GT9xx Touchscreen
Driver.

Change-Id: Ibbcdcbb4563bc022d6e4034c37bc633eb9b34315
Signed-off-by: Figo Wang <figow@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-13 11:38:59 +05:30
Gaurav Kohli
62dec45139 firmware_class: Add missing change during kernel upgrade
Add missing change for request_firmware_nowait so third party
drivers are able to load their firmware

Change-Id: Ic6b842a717bde9c2bc50a7c7845c7c50ac05be25
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-09-12 22:32:22 -07:00
Linux Build Service Account
087b488761 Merge "net: rmnet_data: Define the skb recycle handler for transports" 2016-09-12 21:29:53 -07:00
Linux Build Service Account
8250f066ca Merge "clk: msm: clock: Register the mnoc_maxi_clk after the vmem_maxi_clk" 2016-09-12 21:29:53 -07:00
Linux Build Service Account
04326fd5ee Merge "qcom-charger: smb-lib: support input limited state property" 2016-09-12 21:29:52 -07:00
Linux Build Service Account
7b1570056f Merge "ARM: dts: msm: Add VADC node for ICNSS in msmcobalt" 2016-09-12 21:29:51 -07:00
Linux Build Service Account
12d6cb4e73 Merge "icnss: Add support of sending athdiag read/write messages" 2016-09-12 21:29:50 -07:00
Linux Build Service Account
d1dac36062 Merge "memshare: Synchronize memory allocation and free operations" 2016-09-12 21:29:49 -07:00
Linux Build Service Account
d8ff4b6468 Merge "input: Makefile: include ITE tech touch driver for compilation" 2016-09-12 21:29:48 -07:00
Linux Build Service Account
d8cee129cd Merge "ext4 crypto: use dget_parent() in ext4_d_revalidate()" 2016-09-12 21:29:47 -07:00
Linux Build Service Account
09f3b62937 Merge "ext4 crypto: don't let data integrity writebacks fail with ENOMEM" 2016-09-12 21:29:47 -07:00
Linux Build Service Account
975231176d Merge "clk: msm: clock: Vote on MX rail on behalf of MM PLLs on MSMCOBALT" 2016-09-12 21:29:46 -07:00
Linux Build Service Account
643a59d98b Merge "ASoC: wcd9335: Fix kctl_put and get functionality for SLIM RXX MUX" 2016-09-12 21:29:45 -07:00
Linux Build Service Account
bff6b51c07 Merge "diag: Use correct bridge index while sending data" 2016-09-12 21:29:44 -07:00
Linux Build Service Account
88701f0bc9 Merge "msm: kgsl: Change the shrinker to not free reserved pages" 2016-09-12 21:29:43 -07:00
Hemant Kumar
b8b08404db Revert "usb: dwc3: gadget: start requests as soon as they come"
This reverts commit 1d6a39186b ("usb:
dwc3: gadget: start requests as soon as they come"). Queuing request
as soon as they come without waiting for XFER_NOT_READY event resulting
into usb transfer stall.

Change-Id: Ic08b2da2983a520a07a0b225254c068d499a67cc
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 19:56:13 -07:00
Hemant Kumar
3ba0c3fd0b Revert "usb: dwc3: gadget: start transfer on XFER_COMPLETE"
This reverts commit 8a1a9c9e45
("usb: dwc3: gadget: start transfer on XFER_COMPLETE"). This
optimization is resulting into transfer stall for an endpoint.
Hence start transfer only from XFER_NOT_READY event.

Change-Id: Idcd7ae3de3cb85b84c3db7f367b56b097561b2dd
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 19:36:57 -07:00
Runmin Wang
c568eb7aca Merge branch 'tmp-bab1564' into msm-4.4
* tmp-bab1564:
  ANDROID: mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED
  android: base-cfg: Add CONFIG_INET_DIAG_DESTROY
  cpufreq: interactive: only apply interactive boost when enabled
  cpufreq: interactive: fix policy locking
  ANDROID: dm verity fec: add sysfs attribute fec/corrected
  ANDROID: android: base-cfg: enable CONFIG_DM_VERITY_FEC
  UPSTREAM: dm verity: add ignore_zero_blocks feature
  UPSTREAM: dm verity: add support for forward error correction
  UPSTREAM: dm verity: factor out verity_for_bv_block()
  UPSTREAM: dm verity: factor out structures and functions useful to separate object
  UPSTREAM: dm verity: move dm-verity.c to dm-verity-target.c
  UPSTREAM: dm verity: separate function for parsing opt args
  UPSTREAM: dm verity: clean up duplicate hashing code
  UPSTREAM: dm: don't save and restore bi_private
  mm: Export do_munmap
  sdcardfs: remove unneeded __init and __exit
  sdcardfs: Remove unused code
  fs: Export d_absolute_path
  sdcardfs: remove effectless config option
  inotify: Fix erroneous update of bit count
  fs: sdcardfs: Declare LOOKUP_CASE_INSENSITIVE unconditionally
  trace: cpufreq: fix typo in min/max cpufreq
  sdcardfs: Add support for d_canonical_path
  vfs: add d_canonical_path for stacked filesystem support
  sdcardfs: Bring up to date with Android M permissions:
  Changed type-casting in packagelist management
  Port of sdcardfs to 4.4
  Included sdcardfs source code for kernel 3.0
  ANDROID: usb: gadget: Add support for MTP OS desc
  CHROMIUM: usb: gadget: f_accessory: add .raw_request callback
  CHROMIUM: usb: gadget: audio_source: add .free_func callback
  CHROMIUM: usb: gadget: f_mtp: fix usb_ss_ep_comp_descriptor
  CHROMIUM: usb: gadget: f_mtp: Add SuperSpeed support
  FROMLIST: mmc: block: fix ABI regression of mmc_blk_ioctl
  FROMLIST: mm: ASLR: use get_random_long()
  FROMLIST: drivers: char: random: add get_random_long()
  FROMLIST: pstore-ram: fix NULL reference when used with pdata
  usb: u_ether: Add missing rx_work init
  ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue
  misc: uid_stat: Include linux/atomic.h instead of asm/atomic.h
  hid-sensor-hub.c: fix wrong do_div() usage
  power: Provide dummy log_suspend_abort_reason() if SUSPEND is disabled
  PM / suspend: Add dependency on RTC_LIB
  drivers: power: use 'current' instead of 'get_current()'
  video: adf: Set ADF_MEMBLOCK to boolean
  video: adf: Fix modular build
  net: ppp: Fix modular build for PPPOLAC and PPPOPNS
  net: pppolac/pppopns: Replace msg.msg_iov with iov_iter_kvec()
  ANDROID: mmc: sdio: Disable retuning in sdio_reset_comm()
  ANDROID: mmc: Move tracepoint creation and export symbols
  ANDROID: kernel/watchdog: fix unused variable warning
  ANDROID: usb: gadget: f_mtp: don't use le16 for u8 field
  ANDROID: lowmemorykiller: fix declaration order warnings
  ANDROID: net: fix 'const' warnings
  net: diag: support v4mapped sockets in inet_diag_find_one_icsk()
  net: tcp: deal with listen sockets properly in tcp_abort.
  tcp: diag: add support for request sockets to tcp_abort()
  net: diag: Support destroying TCP sockets.
  net: diag: Support SOCK_DESTROY for inet sockets.
  net: diag: Add the ability to destroy a socket.
  net: diag: split inet_diag_dump_one_icsk into two
  Revert "mmc: Extend wakelock if bus is dead"
  Revert "mmc: core: Hold a wake lock accross delayed work + mmc rescan"
  ANDROID: mmc: move to a SCHED_FIFO thread

Conflicts:
	drivers/cpufreq/cpufreq_interactive.c
	drivers/misc/uid_stat.c
	drivers/mmc/card/block.c
	drivers/mmc/card/queue.c
	drivers/mmc/card/queue.h
	drivers/mmc/core/core.c
	drivers/mmc/core/sdio.c
	drivers/staging/android/lowmemorykiller.c
	drivers/usb/gadget/function/f_mtp.c
	kernel/watchdog.c

Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Change-Id: Ibb4db11c57395f67dee86211a110c462e6181552
2016-09-12 18:25:49 -07:00
Veera Sundaram Sankaran
fdc9315942 msm: mdss: wait for kickoff before executing mode switch changes
Currently, as soon as the mode switch for video-cmd mode request
kicks in, few software structures are changed immediately. This
might cause issues when the previous kickoff is in progress with
the kernel thread. Add wait for kickoff before executing mode
switch to avoid such issues.

Change-Id: I2646d00d64416523da9c936715e9af9a2b258eeb
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-09-12 17:02:54 -07:00
Sivanesan Rajapupathi
653339dbcd crypto: msm: qce50: allocate iovec out of cacheable memory
iovec memory for each pipe is only accessed by crypto and BAM drivers from
the CPU. It won't be accessed by crypto device. Change allocation of iovec
from coherent memory space to kernel memory space to improve performance.

Change-Id: I97162c00c37716be8b9a20393f67bda8da41e99d
Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Sivanesan Rajapupathi <srajap@codeaurora.org>
2016-09-12 16:12:52 -07:00
Venkat Gopalakrishnan
98e5fbba6a scsi: ufs-qcom: configure ufs clocks core memory
Configure the ufs clocks core and peripheral memory state when
turned off. This configuration is required to allow retaining
ICE crypto configuration (including keys) when ice_core_clk is
turned off, and powering down non-ICE RAMs of host controller.

Change-Id: I93584851fd50c7006ccd48979087d707ab4c6408
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 16:00:53 -07:00
Hemant Kumar
b6271df1c9 Revert "usb: dwc3: gadget: use update transfer command"
This reverts commit 6bb4fe12ea
("usb: dwc3: gadget: use update transfer command"). If we get
a Xfer Not Ready event with reason "Transfer Active" issuing
update transfer for the endpoint for any pending request
results into transfer stall on the endpoint. Hence do not use
update transfer command for on-demad transfers.

Change-Id: Iec1c5913efe1dd266506f973951f22a2170fce77
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 15:43:56 -07:00
Mayank Rana
f5a8583fbb Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"
This change reverts Commit f3af36511e ("usb: dwc3: gadget: always
enable IOC on bulk/interrupt transfers") which sets IOC bit for both
bulk/interrupt transfers resulting into interrupt for each TRB
completion with event as XFERINPROGRESS. In some cases it has been
observed that controller is not able to complete provided TRB on
bulk-in endpoint causing stall conditions. Hence Fix this issue by not
setting IOC bit for each TRB to receive XFERCOMPLETE interrupt with it.

Change-Id: I5ff08188f37044332f7dadba8d677288e83bfec8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 15:43:56 -07:00
Hemant Kumar
afaf5d0410 Revert "usb: dwc3: gadget: use Update Transfer from Xfer In Progress"
This reverts commit e6e709b7ab ("usb:
dwc3: gadget: use Update Transfer from Xfer In Progress"). Issueing
update transfer command for on-demand transfers reslting into
transfer stall.

Change-Id: I5dd4818e07a3297dd9226169741d8753b2f57a2e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-12 15:43:56 -07:00
Mayank Rana
94a976091c dwc3: gadget: Avoid starting next transfer if transfer is active
XFERNOTREADY event provides status about current transfer. Hence
if transfer is active, then avoid starting next transfer by calling
__dwc3_gadget_kick_transfer() API. Otherwise USB controller stalls to
perform data transfer on that endpoint due to starting new transfer
without completing in progress transfer.

Change-Id: I90370e7e5de55b499a78fbfe5e913f39ec22c7e5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-12 15:43:56 -07:00
Mayank Rana
ef529d5647 Revert "usb: dwc3: fix TRB completion when multiple TRBs are started"
commit 0b93a4c838 ("usb: dwc3: fix TRB completion when multiple TRBs
are started") enables XFERINPROGRESS event with all endpoint type
except control endpoint. Currently we are not using XFERINPROGRESS for
queuing next request and depends on XFERNOTREADY event only.

Change-Id: I833c2311c5af48fd15f2813df9cc83c3471c4f94
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-12 15:43:55 -07:00
Linux Build Service Account
b7bf6d2b63 Merge "icnss: Add support of suspend_noirq/resume_noirq" 2016-09-12 14:42:28 -07:00
Linux Build Service Account
e8afdbad3e Merge "ASoC: msm: Add Buffer overflow check" 2016-09-12 14:42:27 -07:00
Linux Build Service Account
a1bf0348c4 Merge "input: touchscreen: add support for IT7260 touch controller series" 2016-09-12 14:42:27 -07:00