Commit graph

600465 commits

Author SHA1 Message Date
Yue Ma
e84e34c011 cnss2: Do not load board data file if bdf_bypass is enabled
Send dummy board data file to firmware if bdf_bypass is enabled,
no matter the real file is present or not.

Change-Id: I042d0ce7190fa56f362baf99c5847edf50419377
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2018-07-11 18:40:24 -07:00
Linux Build Service Account
cd536e63e3 Merge "net: sockev: code cleanup" 2018-07-11 07:09:25 -07:00
Linux Build Service Account
37c280a3b7 Merge "xhci: Fix use-after-free in xhci_free_virt_device" 2018-07-11 07:09:24 -07:00
Linux Build Service Account
af27a0fe41 Merge "ufs: scsi: fix redzone overwritten error when print utp hci testbus" 2018-07-11 07:09:23 -07:00
Linux Build Service Account
324c1ad8e8 Merge "usb: dwc3-msm: Enable PHY IRQ wakeup only for non-auto targets" 2018-07-11 07:09:22 -07:00
Linux Build Service Account
52d99c3422 Merge "clk: msm: clock-mmss-8996: disable cache based clk rate" 2018-07-11 07:09:21 -07:00
Tejaswi Tanikella
31c5d9be72 net: sockev: code cleanup
Replace with cleaner NULL checks. Needed for dependent change
commit 59f6fd5f1905 ("net: core: null pointer derefernce in
		sockev_client_cb").

Change-Id: Icdd7a5c9f3e3f343bb20b1f9b75fa580ea75a2dc
Signed-off-by: Tejaswi Tanikella <tejaswit@codeaurora.org>
2018-07-11 14:45:57 +05:30
Can Guo
11282791fe ufs: scsi: fix redzone overwritten error when print utp hci testbus
When print UTP HCI testbus data, a redzone overwritten error is triggered
because the max select minor value goes across its border. This change
fixes it.

Change-Id: Ib085288f3770aa0ab3683926247fb95f5e50cb08
Signed-off-by: Can Guo <cang@codeaurora.org>
2018-07-11 16:11:55 +08:00
Linux Build Service Account
4049db73f1 Merge "Merge android-4.4.139 (7ba5557) into msm-4.4" 2018-07-10 22:43:57 -07:00
Linux Build Service Account
62b5f32c45 Merge "ASoC: msm: Fix config control indices for TX DAIs" 2018-07-10 22:43:53 -07:00
Linux Build Service Account
8b6c671074 Merge "include: qdsp6v2: avoid returning error code from stubbed function" 2018-07-10 22:43:49 -07:00
Linux Build Service Account
a37cd25c94 Merge "Revert "drm/msm/sde: output black frame during resume operation"" 2018-07-10 08:50:42 -07:00
Linux Build Service Account
505d3dc6f5 Merge "mdss: mdp: Constant fetch start across dfps change" 2018-07-10 08:50:39 -07:00
Linux Build Service Account
6f512dfbfc Merge "DRM: DSI: setup software context during DSI prepare with splash" 2018-07-10 08:50:35 -07:00
Satish Babu Patakokila
595690c416 ASoC: msm: Fix config control indices for TX DAIs
Correct the config control indices for TX DAIs of MI2S interface.

Change-Id: Ie8bf646a0c1fbd30abdb34703ae1f90ed9b484e8
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
2018-07-10 03:50:13 -07:00
Ajay Agarwal
07cc3a041e usb: dwc3-msm: Enable PHY IRQ wakeup only for non-auto targets
On automotive targets, we do not want the system to wakeup if the
connected peripheral is issuing remote wakeup when the system is
PM suspended. Do not enable the system wakeup capability of the
PHY IRQs if the target is automotive.

Change-Id: I0bd986fdfab8f978692b605a44301086de3d0a87
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-07-10 15:43:33 +05:30
Linux Build Service Account
25da117eca Merge "usb: misc: Fix incorrect use of keywords in Kconfig" 2018-07-10 00:19:32 -07:00
Linux Build Service Account
f632f91c79 Merge "scsi: ufs: print TSTBUS_UTP_HCI testbus data" 2018-07-10 00:19:31 -07:00
Banajit Goswami
c719e9e28e include: qdsp6v2: avoid returning error code from stubbed function
If MSM_QDSP6_NOTIFIER is not enabled for a target, audio_notifier
feature will not be available for that target. Whenever a call is
made to audio_notifier when its not supported, returning error from
stubbed function may confuse the error with real failure (even though
the feature is not enabled on the target). Avoid returning error code
from stubbed function, when feature is disabled.

Change-Id: I37eb2e25e45b25948aff55f2a231195a22b16f05
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-07-09 21:37:57 -07:00
Linux Build Service Account
093e11e9d2 Merge "sdm660: defconfig: Enable GCM crypto configs" 2018-07-09 12:30:23 -07:00
Linux Build Service Account
792f7097d5 Merge "hid: usbhid: Changes to prevent buffer overflow" 2018-07-09 12:30:22 -07:00
Linux Build Service Account
78366da7ed Merge "msm8998: defconfig: Enable GCM crypto configs." 2018-07-09 03:59:41 -07:00
Linux Build Service Account
cabe796714 Merge "ASoC: msm: qdsp6v2: Update LSM param hdr size" 2018-07-09 03:59:40 -07:00
Linux Build Service Account
055c0ed6a2 Merge "pmic: gpio: dt: disable unnecessary gpios in la-gvm" 2018-07-09 03:59:38 -07:00
Gerrit - the friendly Code Review server
83ddc388e2 Merge changes into msm-4.4 2018-07-09 03:35:34 -07:00
Animesh Kishore
6ab8fbb872 mdss: mdp: Constant fetch start across dfps change
Timing engine HW restricts changing programmable fetch
start when off. Fix fetch start in SW drivers.

Change-Id: I8ec80408a4ae36a7dfd963bc570fca9672d12341
Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
2018-07-09 12:06:52 +05:30
Devi Sandeep Endluri V V
25b8a96a31 sdm660: defconfig: Enable GCM crypto configs
Enable GCM crypto support.

Change-Id: I08b9d20ad314117bb30b21ffc2eabe8dd0cac7d3
CRs-Fixed: 2263373
Signed-off-by: Devi Sandeep Endluri V V <dendluri@codeaurora.org>
2018-07-09 11:22:35 +05:30
Linux Build Service Account
0e811b3f2e Merge "msm: ais: sensor: Fix turning clocks off during suspend" 2018-07-08 20:23:57 -07:00
Devi Sandeep Endluri V V
f66a4162ed msm8998: defconfig: Enable GCM crypto configs.
Enable GCM crypto support.

CRs-Fixed: 2263373
Change-Id: Ic243892a71551e880ece90876c38bb08fd709b4b
Signed-off-by: Devi Sandeep Endluri V V <dendluri@codeaurora.org>
2018-07-09 00:32:34 +05:30
Ajay Agarwal
d0631ff756 usb: misc: Fix incorrect use of keywords in Kconfig
In 'commit 60de9d752e ("usb: misc: Add snapshot of diag_bridge
driver")', we used wrong keyword in the Kconfig file. Fix that
by using "Qualcomm Technologies".

Change-Id: I6caecf19ed67257db7eda0289257118549d46836
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-07-07 14:38:30 +05:30
Linux Build Service Account
1708fcc68f Merge "ARM: dts: msm: add sde block lengths on msm8996" 2018-07-06 17:34:59 -07:00
Linux Build Service Account
726c573100 Merge "regulator: qpnp-lcdb: Disable the SC irq only for PM660L V1.1 and below" 2018-07-06 09:57:15 -07:00
Linux Build Service Account
eef8d2fd05 Merge "ARM: dts: msm: Set default status of I2C_8 as disabled" 2018-07-06 09:57:14 -07:00
Linux Build Service Account
f9c50487ba Merge "pinctrl: qcom: Clear status bit on irq_unmask" 2018-07-06 09:57:12 -07:00
Soumya Managoli
06cd2ea4b5 ASoC: msm: qdsp6v2: Update LSM param hdr size
q6lsm_pack_params requires param hdr size
to be filled and sent as argument.
Change is to update size with param_hdr_v3 struct size.

Change-Id: Id2380f3ceb887e1fc73b7f5f8e28ac93029082e4
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-07-06 05:01:11 -07:00
Sriharsha Allenki
55fece3439 hid: usbhid: Changes to prevent buffer overflow
Moved some value checks to right positions to prevent
buffer flow, which may be possible before. Previously
these value checks are in an else statement which may
not be executed.

Change-Id: I02dbecd074183581a6bdae6377097bc004bd3d3c
CRs-fixed: 1102936
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2018-07-06 16:22:02 +05:30
Linux Build Service Account
d429fdd458 Merge "Revert "do d_instantiate/unlock_new_inode combinations safely"" 2018-07-06 00:10:21 -07:00
Suprith Malligere Shankaregowda
c8e9459d37 msm: ais: sensor: Fix turning clocks off during suspend
Added condition check for suspend only if sensor state is power
down and for resume only if sensor state is power up in
pm functions on sensor driver to control.

Change-Id: Ia31f34dc103428423a86efe8f8012db18b5a75f1
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-07-05 23:54:27 -07:00
Srinivas Ramana
886e726260 pinctrl: qcom: Clear status bit on irq_unmask
This commits reverts the commit a6566710adaa ("pinctrl:
qcom: Don't clear status bit on irq_unmask").
Above change causes an unexpected wakeup on the gpios when the
interrupt is enabled. The gpio interrupt status bit is getting set
after the irq is disabled and causing an immediate interrupt after
enablling the irq. So, revert this change to avoid unexpected/spurious
wakeups.

The above change came in as part of the merge commit 3a75d7a947
("Merge 4.4.59 into android-4.4")

Change-Id: Ie58116c8ac5c81bc007d2c4398f5edfcbf9988d6
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2018-07-05 23:37:14 -07:00
Kiran Gunda
fadfa06fbf regulator: qpnp-lcdb: Disable the SC irq only for PM660L V1.1 and below
PM660L v2.0 has the NCP power-on issue fixed. This allows enabling the
short-circuit IRQ. Enable the same.

Change-Id: I4c0523ef8c46dd9bac190d4ad69190ef777ef14b
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2018-07-05 21:55:47 -07:00
Linux Build Service Account
67addccde1 Merge "dts: msm: Add QSEECOM heap node on msm8996 lfv baseline platform" 2018-07-05 14:33:21 -07:00
Shrey Vijay
29a78b18d9 ARM: dts: msm: Set default status of I2C_8 as disabled
Set default configuration of I2C_8 instance to disabled
state, for MSM8996 vplatform, such that clients can overwrite
and enable respective instance as per need.

Change-Id: I2e873cb27ba028323d6dc1a0aa302f2c32e2b69f
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
2018-07-05 18:58:15 +05:30
Jomana Artul
51eaca3871 dts: msm: Add QSEECOM heap node on msm8996 lfv baseline platform
Added the QSEECOM ION heap node, to allow QSEECOM driver and QSEECOM
API library to allocate ION memory from QSEECOM heap.

Change-Id: I72162f8e45bfb8dd3d54e259947aa9604618a7ed
Signed-off-by: Jomana Artul <jartul@codeaurora.org>
2018-07-05 03:28:55 -07:00
Manoj Prabhu B
0fe549f6b6 diag: Update mask buffer after reallocation
Currently, reallocated mask update buffers are not
updated if the received mask range is more than the
mask update buffer length. Update the reallocated buffer
address before writing the mask to peripherals.

CRs-Fixed: 2266693
Change-Id: I6b506ce68e17b7da61926b0f9543157812a8c555
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-07-04 23:11:14 -07:00
Camus Wong
12e735d655 DRM: DSI: setup software context during DSI prepare with splash
When splash handoff is enabled, it should skip the hardware init
function.  However, the software context should setup properly to
reflect actual hardware state.

Change-Id: I2a69bf5fadab726459e874597022cf5b54503102
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-07-04 13:32:43 -04:00
Linux Build Service Account
38a0bccad5 Merge "Revert "packet: fix race condition in packet_set_ring"" 2018-07-04 07:24:44 -07:00
Venkata Rao Kakani
106c717628 pmic: gpio: dt: disable unnecessary gpios in la-gvm
Disable all pmic gpios which are not necessary for
la-gvm.

Change-Id: I8f2156bdfd2a065b7f29d4028424f369739435cf
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-07-03 22:22:11 -07:00
Linux Build Service Account
39da72f028 Merge "msm: kgsl: Add hibernation support" 2018-07-03 22:17:57 -07:00
Linux Build Service Account
3fd902873b Merge "msm: ais: sensor: Fix turning off sensor during suspend" 2018-07-03 22:17:55 -07:00
Venkata Rao Kakani
e57d78a605 driver/ethernet/camera: NULL pointer checks before accessing
Check NULL pointer conditions before accessing the
structure to avoid crashes.

Change-Id: I7633d94c265f01793f7aafc3ec2b27379539b857
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-07-03 20:55:54 -07:00