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.

CRs-Fixed: 526101
Change-Id: I5173fc1ca021fd45c939c7c8a4f460651330de5b
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
ASoC: wcd9xxx: check NULL pointer access for wcd9xxx

It may be possible that device up gets called
before slim probe and this leads to NULL pointer
access. Avoid the NULL pointer access before
processing device up.

Change-Id: I53d8deb985d67a19a52165c783f38f176d564fbc
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Merge "ASoC: wcd9xxx: check NULL pointer access for wcd9xxx"
Revert "ARM: dts: msm: decrease prepare time to fix display flicker"

This reverts commit 7c241867dc88b812ff96a1b5f7083c1f6373240b.

Change-Id: I56e9d6a640eafca2486383996dd3d99edbc29048
Signed-off-by: Ray Zhang <rayzhang@codeaurora.org>
ARM: dts: msm: decrease T_HS_ZERO to fix display flicker

Current T_HS_ZERO setting doesn't match nt35521's requirement,
this produces display flicker issue in some case, e.g. there
is shift in DSI data channel when system is idle, this shift
results in shift exceeds timing limitation.

CRs-fixed: 537517
Signed-off-by: Ray Zhang <rayzhang@codeaurora.org>
Change-Id: I5e15b667dc762c9abfe555d841c5c1668c97f42a
ARM: dts: msm: update nt35521 tuning data

optimize nt35521 display, these changes relate to panel side
tuning, fix some display artifacts.

CRs-fixed: 529681, 540063
Signed-off-by: Ray Zhang <rayzhang@codeaurora.org>
Change-Id: Ic0d9dd422f50735482e9efd4dabe4077bc3f4490
Merge "input: touchpanel: fix security issues in GT915 driver"
Merge "Revert "ARM: dts: msm: decrease prepare time to fix display flicker""
Merge "ARM: dts: msm: decrease T_HS_ZERO to fix display flicker"
Merge "ARM: dts: msm: update nt35521 tuning data"