Commit graph

594767 commits

Author SHA1 Message Date
Yue Ma
c10f99af82 cnss2: Add device pointer to all external APIs
Add device pointer to all external APIs so that platform driver is
able to support multiple devices/instances at the same time.

Change-Id: I09dfb146da30d3fd6514dc79dc31cd239a03afa8
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-11-03 10:28:20 -07:00
Yue Ma
f76f50c672 cnss2: Remove deprecated API
cnss_set_driver_status() is no longer needed by WLAN host driver.
Hence remove it from platform driver.

Change-Id: I31a3174bdded924a9279a40ece05a835277e4626
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2017-11-03 10:27:53 -07:00
Linux Build Service Account
11734d0451 Merge "drm/msm/sde: add mutex to the sde resource manager" 2017-11-01 20:34:04 -07:00
Linux Build Service Account
e8c140a99b Merge "ARM: dts: msm: enable one adv7533 instance on apq8096 lite board" 2017-11-01 20:34:03 -07:00
Linux Build Service Account
aedf62a2ba Merge "block: Fix oops in locked_inode_to_wb_and_lock_list()" 2017-10-31 16:54:18 -07:00
Linux Build Service Account
5954c32915 Merge "block: Fix bdi assignment to bdev inode when racing with disk delete" 2017-10-31 16:54:18 -07:00
Linux Build Service Account
d4cc718065 Merge "diag: Remove AXI prefetch related padding" 2017-10-31 16:54:17 -07:00
Linux Build Service Account
df3eaf90e3 Merge "ARM: 8701/1: fix sparse flags for build on 64bit machines" 2017-10-31 16:54:16 -07:00
Linux Build Service Account
5327b0ab71 Merge "msm: mdss: add support for dma scheduling for dsi v2.1" 2017-10-31 16:54:14 -07:00
Ashish Garg
0d030ecce2 msm: mdss: add support for dma scheduling for dsi v2.1
Dsi controller v2.1 and above supports scheduling of dma
commands. Schedule dsi cmds at the starting of blanking
region to avoid sending of commands in active region
resulting in dsi overflow errors.

Change-Id: I658b7d7008eb9071148820c0ea949ae9ba593ed9
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
2017-10-31 10:32:59 -07:00
Sameer Thalappil
9fccd743a2 icnss: Do not assert if reboot requested during PDR
When icnss driver sees a PD down, and if the recovery is already in
progress, it forces an assert in debug builds. That is to detect any
Modem failures during PDR or to catch any instance of recursive PDRs.
When system goes thru a reboot or shutdown, and if the recovery is in
progress then avoid calling this assert.

CRs-Fixed: 2135071
Change-Id: I28f5c79a4cd8b83f60a62111535b11c2fba6000b
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2017-10-31 10:19:55 -07:00
Luc Van Oostenryck II
38aaac21e6 ARM: 8701/1: fix sparse flags for build on 64bit machines
By default sparse uses the characteristics of the build
machine to infer things like the wordsize.
This is fine when doing native builds but for ARM it's,
I suspect, very rarely the case and if the build are done
on a 64bit machine we get a bunch of warnings like:
  'cast truncates bits from constant value (... becomes ...)'

Fix this by adding the -m32 flags for sparse.

Change-Id: I9045e5b77578d03e328a4a6af297e84356c02cf8
Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-commit: 6042b8c7c08cad7a8bdc0456c619ae941962b40a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-10-30 16:11:46 -07:00
Linux Build Service Account
9c23726ad4 Merge "leds: qpnp-flash: Fix Use-after-free(UAF) for debugfs" 2017-10-30 15:13:50 -07:00
Linux Build Service Account
bb3bb010ec Merge "ASoC: wcd9xxx: restrict debugfs permission" 2017-10-30 05:26:21 -07:00
Linux Build Service Account
4dd3043f35 Merge "ASoC: sdm660_cdc: Fix pop noise issue at DMIC" 2017-10-30 05:26:20 -07:00
Lloyd Atkinson
0852d989e4 drm/msm/sde: add mutex to the sde resource manager
Fix serialization of access to the SDE resource manager by
adding mutex protection to its external APIs.

Change-Id: I469a1c7b37d4a2f115443bdc308d0236d786fc68
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lihui Wen <lwen@codeaurora.org>
2017-10-30 05:23:16 -07:00
Guchun Chen
4ae9ad2434 ARM: dts: msm: enable one adv7533 instance on apq8096 lite board
Apq8096 lite board has one DSI-HDMI display through adv7533 bridge chip,
so enable this bridge chip node.

Change-Id: I3539889b70b5a14d6acd09d13e387bdce11d59b1
CRs-Fixed: 2113147
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2017-10-30 13:15:46 +08:00
Linux Build Service Account
d2c583756f Merge "security: Extend SELinux to support CAN sockets" 2017-10-29 20:59:53 -07:00
Ankit Sharma
d851b06217 leds: qpnp-flash: Fix Use-after-free(UAF) for debugfs
Fix UAF where two threads can open and close the same file. Second
open will cause the private data for the first file to be overwritten.
When the first file is closed and the private data is freed, this makes
the now-shared private data OOB for the second thread.

CRs-Fixed: 1109763
Change-Id: I1c4618d5be99e140abf0f3ea0d7f485897db5ab2
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-10-28 14:29:50 +05:30
Linux Build Service Account
31c9729a25 Merge "ARM: dts: msm: Refactor device tree of msm8996 virtual platform" 2017-10-27 08:52:16 -07:00
Linux Build Service Account
d88953de59 Merge "rtc: Disable alarm irq if alarm time is in the past" 2017-10-27 08:52:15 -07:00
Linux Build Service Account
f15c96401c Merge "drm/msm: add SRM support for HDCP 2.2" 2017-10-27 08:52:14 -07:00
Mao Jinlong
ecbfe59d65 rtc: Disable alarm irq if alarm time is in the past
If device is boot up by rtc alarm, the alarm irq will still be
enabled and the alarm time is smaller than current rtc time before
any alarm is set or canceled. If device is powered off now, it will
boot up automatically as the alarm irq is enabled.

So disable alarm irq if alarm is enabled and alarm time is in the
past.

CRs-Fixed: 2109666
Change-Id: Ie60bd1222a400cd45a6c5a385faa70190fbe7e3c
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2017-10-27 00:02:38 -07:00
Zhiqiang Tu
8353608a98 ARM: dts: msm: Refactor device tree of msm8996 virtual platform
Refactor device tree to support multiple targets on virtual platform.

Change-Id: Id4a3519afd63b77510d824979fc71309ff6ac481
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-10-26 17:31:46 -07:00
Linux Build Service Account
4bea3d2624 Merge "uapi: Export msm_ipc.h" 2017-10-26 14:47:35 -07:00
Linux Build Service Account
cf4751b009 Merge "defconfig: arm64: fsm: Add configs for FSM platforms" 2017-10-26 14:47:34 -07:00
Linux Build Service Account
f5caf269cd Merge "soc: qcom: glink: Add downvote of transport during SSR" 2017-10-26 14:47:33 -07:00
Linux Build Service Account
2db878d52e Merge "Merge android-4.4@d6fbbe5 (v4.4.93) into msm-4.4" 2017-10-26 07:35:30 -07:00
Linux Build Service Account
dd2d19cd96 Merge "ath10k: Add radar detect width for wcn3990 interface combination" 2017-10-26 07:35:29 -07:00
Linux Build Service Account
3b637f746d Merge "drm/msm: clear deep color bits in the HDMI controller" 2017-10-26 07:35:28 -07:00
Linux Build Service Account
40530e7b4e Merge "drm/msm: reset sink hdr capabilities during bridge disable" 2017-10-26 07:35:27 -07:00
Linux Build Service Account
b6171c845c Merge "usb: gadget: Add check gadget function bind or not" 2017-10-26 07:35:26 -07:00
Dhoat Harpal
9ed4818826 soc: qcom: glink: Add downvote of transport during SSR
During SSR, down vote transport of xprt is not called.
This leads to transport not being able to go to idle state.

Downvote of transport is called in SSR path.

CRs-Fixed: 2131780
Change-Id: Ic374073187aab95b700aa3f795787819f34d3c3c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-10-26 19:21:44 +05:30
Linux Build Service Account
4c5c6905e4 Merge "defconfig: msm: Enable USB video class support on msm-4.4 kernel" 2017-10-25 15:58:59 -07:00
Linux Build Service Account
5177652ad0 Merge "Merge android-4.4@73a2b70 (v4.4.92) into msm-4.4" 2017-10-25 15:58:58 -07:00
Linux Build Service Account
b3161dca6c Merge "ARM: dts: msm: modify interrupt flag for wled device on PMI8994" 2017-10-25 15:58:57 -07:00
vpalvai
f7ac82b8a0 defconfig: msm: Enable USB video class support on msm-4.4 kernel
Enable USB video class for USB camera support on
msm8996-auto devices

Change-Id: I2a385cf4c935d5bc2a4c1171f185baf30322ed1d
Signed-off-by: vpalvai <vpalvai@codeaurora.org>
2017-10-25 10:01:06 -07:00
Linux Build Service Account
f0ae27b1af Merge "ath10k: increase the allowed num of tx pending pkts" 2017-10-25 07:26:51 -07:00
Linux Build Service Account
2a42942814 Merge "leds: qpnp-wled: Improve auto calibration algorithm" 2017-10-25 07:26:50 -07:00
Linux Build Service Account
77383f7a13 Merge "regulator: qpnp-labibb: Allow 0 ms for IBB PWRUP_DLY1 and PWRDN_DLY2" 2017-10-25 07:26:48 -07:00
Linux Build Service Account
06c1491488 Merge "regulator: qpnp-labibb: Fix LAB PS_CTL configuration for pmi8998" 2017-10-25 07:26:47 -07:00
Linux Build Service Account
d9ec6c6960 Merge "ARM: dts: msm: enable camera on SDM636 CDP" 2017-10-25 07:26:46 -07:00
Tirupathi Reddy
473edcfeb6 ARM: dts: msm: modify interrupt flag for wled device on PMI8994
The wled driver is not statically handling interrupt flags.
Pass proper flag such as IRQ_TYPE_EDGE_RISING for wled
"sc-irq" interrupt through device node.

Change-Id: I90974bd7995949a97bb7070e86c469cde646096a
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-10-25 14:08:33 +05:30
Alex Yakavenka
f5ada1fa7a security: Extend SELinux to support CAN sockets
CAN socket SELinux support is required to be able
to distinguish between generic socket and can_socket

Change-Id: I9ec2099fc4c08ab6406e33ff9ad821ef18261763
Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
2017-10-24 22:08:44 -07:00
Linux Build Service Account
59099c712f Merge "leds: qpnp-wled: Fix parameters passed to of_get_address_byname()" 2017-10-24 20:02:57 -07:00
Linux Build Service Account
9765263bbe Merge "soc: qcom: ipc_router_glink_xprt: Change wake source name" 2017-10-24 20:02:56 -07:00
Linux Build Service Account
25d590e3f8 Merge "net: restore upstream changes which break routing in tunnel scenarios" 2017-10-24 20:02:53 -07:00
Linux Build Service Account
b3ede85de2 Merge "ARM: dts: msm: add support for QBT1000 on SDM630" 2017-10-24 20:02:52 -07:00
Linux Build Service Account
13b2fc0bc3 Merge "drm: msm: fix list corruption problem" 2017-10-24 20:02:51 -07:00
Linux Build Service Account
4021b93ec3 Merge "msm: vidc: Fix the type of frame size" 2017-10-24 20:02:50 -07:00