Commit graph

575178 commits

Author SHA1 Message Date
Linux Build Service Account
02663bfe05 Merge "usb: gadget: f_cdev: Avoid potential NULL pointer dereference" 2016-09-24 02:00:41 -07:00
Linux Build Service Account
1b95c57dc7 Merge "ASoC: msmcobalt: add support for MI2S and AUX PCM" 2016-09-24 02:00:40 -07:00
Linux Build Service Account
5487004966 Merge "ASoC: wsa881x: Update device state during device probe" 2016-09-24 02:00:39 -07:00
Linux Build Service Account
090cd1c98a Merge "ARM: dts: msm: add initial memory map for msmtriton" 2016-09-24 02:00:39 -07:00
Linux Build Service Account
8a86657b1d Merge "leds: qpnp-flash-v2: Fix compilation issue for 32-bit kernel" 2016-09-24 02:00:38 -07:00
Linux Build Service Account
a5091bfd65 Merge "ARM: dts: msm: update the memory map details for msmfalcon" 2016-09-24 02:00:37 -07:00
Linux Build Service Account
320ea78e7c Merge "ARM: dts: msm: update regulator name for msmfalcon" 2016-09-24 02:00:37 -07:00
Linux Build Service Account
695daa8f13 Merge "perf: Enable updating exclude_idle events at idle" 2016-09-24 02:00:36 -07:00
Linux Build Service Account
20513d5e59 Merge "drivers: GICv3: remove the rtb logs of gic_poke_irq" 2016-09-24 02:00:35 -07:00
Linux Build Service Account
003e367e36 Merge "input: touchscreen: Convert Goodix driver to dev_pm_ops" 2016-09-24 02:00:32 -07:00
Linux Build Service Account
33b8c0517b Merge "input: touchscreen: Change late_init call to module_init" 2016-09-24 02:00:31 -07:00
Linux Build Service Account
aa737148db Merge "ARM: dts: msm: add MI2S and AUX PCM support for msmcobalt" 2016-09-24 02:00:30 -07:00
Linux Build Service Account
a7186f9754 Merge "cgroup: make sure a parent css isn't freed before its children" 2016-09-24 02:00:29 -07:00
Linux Build Service Account
fa7978ca56 Merge "memshare: Add support to listen to SUBSYS_RAMDUMP_NOTIFICATION" 2016-09-23 20:19:13 -07:00
Linux Build Service Account
7da41e3f7a Merge "ARM: dts: msm: Add rpm-smd node for msmfalcon" 2016-09-23 20:19:12 -07:00
Linux Build Service Account
29d2cbe64f Merge "drivers: cpuidle: lpm-levels: Fix wakeup time for suspend" 2016-09-23 20:19:11 -07:00
Linux Build Service Account
eddab8721c Merge "ASoC: msm: update to align afe memory mapping as multiple of 4KB" 2016-09-23 20:19:11 -07:00
Linux Build Service Account
75a030a73b Merge "soundwire: Add support for usecases without compander" 2016-09-23 20:19:10 -07:00
Linux Build Service Account
5e8c719acd Merge "ASoC: wcd: add null check before pointer dereference" 2016-09-23 20:19:09 -07:00
Linux Build Service Account
0a20333b02 Merge "USB: gadget: f_fs: Use %zu when printing size_t" 2016-09-23 20:19:08 -07:00
Linux Build Service Account
4fbca7b158 Merge "usb: gadget: gsi: Set NUM_OF_TRB as 15 for IN and OUT GSI endpoints" 2016-09-23 20:19:08 -07:00
Linux Build Service Account
00193d2edf Merge "dwc3: core: clear DELAYP1TRANS with USB3PIPECTL register" 2016-09-23 20:19:07 -07:00
Linux Build Service Account
8da923f7e0 Merge "usb: phy: qusb: Reset clock mux to avoid leakage on vdd rail" 2016-09-23 20:19:06 -07:00
Linux Build Service Account
5038545dd9 Merge "soc: qcom: ssr: Return from acknowledgment wait if modem is crashed" 2016-09-23 20:19:06 -07:00
Linux Build Service Account
6ae0998ab6 Merge "usb: gadget: composite: fix dereference after null check coverify warning" 2016-09-23 20:19:04 -07:00
Linux Build Service Account
baa3d606ab Merge "msm: sde: Add pre/post power event handler in SDE rotator" 2016-09-23 20:19:03 -07:00
Linux Build Service Account
25d60ce52e Merge "usb: gadget: Enable L1 suspend by default" 2016-09-23 20:19:03 -07:00
Linux Build Service Account
d225a2103b Merge "ARM: dts: msm: add sound support for msmcobalt skuk" 2016-09-23 20:19:02 -07:00
Linux Build Service Account
404a6deb48 Merge "msm: mdss: consider ib to commit the bw vote for mdp" 2016-09-23 20:19:01 -07:00
Linux Build Service Account
df02701d1f Merge "ARM: dts: msm: update PCIe reset clks for MSM8996 and msmcobalt" 2016-09-23 20:19:00 -07:00
Kuirong Wang
6ec8311450 ASoC: msmcobalt: add support for MI2S and AUX PCM
Add support for audio over MI2S and AUX PCM interfaces
so that applications have flexibility to select MI2S/AUX
PCM interfaces in addition to Slimbus.

CRs-Fixed: 1047362 1047365
Change-Id: I48e6680b026391d8e77bbdcba4fb59ed90b13581
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-09-23 16:41:41 -07:00
Mayank Rana
1ed274d00a usb: gadget: f_cdev: Avoid potential NULL pointer dereference
Fix possible NULL pointer dereference issue as strrchr() API can
return NULL if there is no port_num found as part of passed string.

Change-Id: I410e58361282f175e46b68cbfaf4824e386454f8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-23 11:40:37 -07:00
Sudheer Papothi
85a1f2a812 ASoC: wsa881x: Update device state during device probe
Device state is updated incorrectly during codec probe when
the wsa881x soundwire slave device is in suspend state, resulting
in register read/write failures. Update the device state during
device probe instead of codec probe.

Change-Id: I46afe2a08495c2ed06806b0568b1c44a6ffd947f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-09-23 11:11:25 -07:00
Charan Teja Reddy
1f4e80a7d2 ARM: dts: msm: add initial memory map for msmtriton
Add carve-outs, firmware regions and other cma areas as part of initial
memory map configuration for msmtriton.

Change-Id: If3f17a913aac8fb5959c919ae28973544e33444a
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2016-09-23 04:18:55 -07:00
ansharma
aba9ed2d3e leds: qpnp-flash-v2: Fix compilation issue for 32-bit kernel
Use div64_s64() instead of direct division required for 32-bit kernel
compilation.

CRs-Fixed: 1070141
Change-Id: I9f58a411c2a923c07fd27ab9dc5ac244e4b13a44
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-09-23 16:12:21 +05:30
Ashay Jaiswal
16d5da42a0 ARM: dts: msm: update regulator name for msmfalcon
Update regulator name and phandle for msmfalcon.
While at it, add buck-boost regulator.

CRs-Fixed: 1070486
Change-Id: Ia3c1beed20590e4135d58ad235ff861d47db5882
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2016-09-23 15:34:55 +05:30
Charan Teja Reddy
7d10527276 ARM: dts: msm: update the memory map details for msmfalcon
Update the initial memory map details for the carveout memory regions
for msmfalcon.

Change-Id: I81b7992aa1117590400050c2da7dc7c9e3903572
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2016-09-23 02:45:18 -07:00
Mahesh Sivasubramanian
95725d4dc6 drivers: cpuidle: lpm-levels: Fix wakeup time for suspend
During suspend, where there isn't a explicit timer requirement, suspend
driver adds a ~0ULL value to current timer value and passes it on to RPM as
the wakeup timer. However, RPM doesn't handle overflow of timer wakeups,
which could indicate that the master is requesting a wakeup in the past
and causes a crash.

Adding 1 to current wakeup times, sets the wakeup time to 0 for suspend
usecases. MPM maps a 0 wakeup time to ~0ULL which would be handled
correctly on the RPM side.

Change-Id: Ida24c83eb2f1ae94ad7168b6065db69da35c3ec9
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: Girish S Ghongdemath <girishsg@codeaurora.org>
2016-09-23 00:23:29 -07:00
Shantanu Jain
43d81f370d input: touchscreen: Convert Goodix driver to dev_pm_ops
Convert Goodix driver to dev_pm_ops.
Add return type and parameters for suspend/resume for
Goodix driver.

Change-Id: I5243d9ab801f6964e675ad37c2161beda3586dfe
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-22 22:25:05 -07:00
Shantanu Jain
18850432fd input: touchscreen: Change late_init call to module_init
Change late_initcall usage in goodix driver to module_init.

Change-Id: I59681138448584fc7a04c95dc8af3d4c3d395ff0
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-22 22:24:58 -07:00
Runmin Wang
08bc9d3d60 drivers: GICv3: remove the rtb logs of gic_poke_irq
gic_poke_irq creates lots of RTB logging. Update the API to call
the no log version of write_relax.

CRs-Fixed: 1070282
Change-Id: I6924bc24fafb1685a2a157656281e7d36223257e
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-22 17:00:50 -07:00
Patrick Fay
54f6e4ae87 perf: Enable updating exclude_idle events at idle
Commit 573979dee2 ("perf: Add support for exclude_idle attribute")
does a register_idle_notifier call so that exclude_idle events
are updated when a CPU goes idle. This commit fixes a bug which
causes unregister_idle_notifier to be erroneously called.

Change-Id: I13dbd369c0ce137e884c156360c514df92746e39
Signed-off-by: Patrick Fay <pfay@codeaurora.org>
2016-09-22 16:48:21 -07:00
Xiaojun Sang
17d98dbde1 ASoC: wcd: add null check before pointer dereference
Slimbus device pointer may be null, which may lead to
null pointer dereference.

CRs-Fixed: 1054973
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Change-Id: Ica22ee19f281fa0cff7d629f396c41c935692c59
2016-09-23 00:06:45 +08:00
Shantanu Jain
3f4d270af7 input: touchscreen: Replace kernel thread with a workqueue
Replace the firmware update kernel thread with a workqueue.
Now the firmware upgrade procedure can be called later in
future time without blocking the registration of the
touchscreen driver. Using a kernel thread is an overhead in
the current driver as it is a one shot thread.

Change-Id: I0d4731148351652092fe7feede0b44828939d98b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-22 16:38:00 +05:30
Manu Gautam
d0bdc926c4 USB: gadget: f_fs: Use %zu when printing size_t
Using %lu for size_t gives compilation error on 32bit system.
Replace this with %zu which should be used to print size_t on
both 32bit and 64bit machines.

Change-Id: Id8a42dec3e081187054cb2353ba3473bae9dd547
CRs-fixed: 1069970
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2016-09-22 16:34:27 +05:30
Kuirong Wang
e079354544 ASoC: msm: add tertiary and quaternary audio PCM support
Add support for tertiary and quaternary audio PCM interface
to msm platform.

Change-Id: I985200bbff55583ac09bf7444ecbc5cf6ab7eb41
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-09-21 17:29:16 -07:00
Peter Chen
19e19a1710 usb: gadget: composite: fix dereference after null check coverify warning
cdev->config is checked for null pointer at above code, so cdev->config
might be null, fix it by adding null pointer check.

Change-Id: Ie919a2a886924f1b1e01415bfdaa53f74046f5b0
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Git-commit: c526c62d565ea5a5bba9433f28756079734f430d
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-09-21 14:51:35 -07:00
Raju P.L.S.S.S.N
c263667eb7 ARM: dts: msm: Add rpm-smd node for msmfalcon
Add rpm-smd node for communication with RPM subsystem over glink.

Change-Id: I95fb375500c649f3e986f0cde5a3ce6fa8ad27ad
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2016-09-21 23:04:02 +05:30
Kuirong Wang
b105c4f9de ASoC: msm: update to align afe memory mapping as multiple of 4KB
It is required the buffer size to ADSP are multiple of 4kB. Update
the buffer size to be 4kB alignment before passing to ADSP.

CRs-Fixed: 1040066

Change-Id: I34f1b611000f5d9e4ae4c13a89b8571faa0f3393
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-09-21 10:13:21 -07:00
Mayank Rana
1fdef7ce53 dwc3: core: clear DELAYP1TRANS with USB3PIPECTL register
Commit fd115e68971b ("dwc3: core: Don't perform controller and PHYs
soft reset") removed clearing DELAYP1TRANS. It is recommended to clear
DELAYP1TRANS bit with USB3PIPECTL register which controls USB
controller allowing USB QMP PHY low power transitions.

Change-Id: I54ba694f4c997bf5ecc540cee274e2cb07b77446
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-21 09:12:06 -07:00