Commit graph

598078 commits

Author SHA1 Message Date
Linux Build Service Account
2a7776a7f1 Merge "clk: qcom: osm: Update maximum number of bytes to read from buffer" 2018-03-16 01:55:35 -07:00
Mahesh Sivasubramanian
9ca78f3033 drivers: qcom: lpm-stats: Fix undefined access error
In cleanup_stats(), a freed memory pointer pos might be accessed for
list traversal. Switch to using _safe() variant of the list API to
prevent undefined accesses.

Change-Id: I7d068cb7813ccb9bfdbcab4646b4ec890145828a
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2018-03-16 11:00:00 +05:30
Suprith Malligere Shankaregowda
88628a32e1 adv7481: Fix CVBS input resolution.
Modify CVBS resolution to 720x507 so that
cvbs frames displayed correctly.

Change-Id: I036aaa4606ff00aab107834fc3e39a5a096c3d87
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-15 21:07:29 -07:00
Yong Ding
6e8ff43c0d soc: qcom: hab: add some pchans for BufferQ and FDE
This is adding pchans based on the legacy header files.

Change-Id: I0abf6b7617f4e1e057891c1312a20538bc65d2ea
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-03-15 20:40:24 -07:00
Linux Build Service Account
56fe93b3ca Merge "drm/msm: init enum properties to default value" 2018-03-15 05:43:39 -07:00
Linux Build Service Account
0ae3ca513a Merge "drm/msm/sde: propagate the cdm block length from the catalog" 2018-03-15 05:43:37 -07:00
Linux Build Service Account
91892844ac Merge "drm/msm/sde: add ubwc equivalent tile formats" 2018-03-15 05:43:25 -07:00
Linux Build Service Account
ab30123fe2 Merge "drm: msm: dsi: fix potential NULL pointer dereference" 2018-03-15 05:43:23 -07:00
Linux Build Service Account
0fcfb086fe Merge "Merge android-4.4.120 (d63fdf6) into msm-4.4" 2018-03-15 05:43:21 -07:00
Linux Build Service Account
65b05aeab8 Merge "drm/msm : add null check on framebuffer in cleanup" 2018-03-15 05:43:20 -07:00
Linux Build Service Account
2b52426fbf Merge "msm: kgsl: Fix XO shutdown issue" 2018-03-15 05:43:18 -07:00
Linux Build Service Account
14d4683ff0 Merge "msm: isp: Clear irq status if irq is set again with same value" 2018-03-15 05:43:16 -07:00
Linux Build Service Account
135beca745 Merge "msm: isp: Add pingpong status to tasklet command" 2018-03-15 05:43:15 -07:00
Linux Build Service Account
b615bd970f Merge "ARM: dts: msm: Configure I2C instances for bus recovery" 2018-03-15 05:43:13 -07:00
Linux Build Service Account
c8eb182375 Merge "msm: mdss: dp: do not include VICs from YC420 VDB" 2018-03-15 05:43:12 -07:00
Linux Build Service Account
50cff2fe5a Merge " msm: mdss: hdcp_1x: enable HDP irq only for DP client" 2018-03-15 05:43:10 -07:00
Linux Build Service Account
e13997c391 Merge "msm: mdss: dp: fix wrong parsing of sink count" 2018-03-15 05:43:09 -07:00
Linux Build Service Account
8bf0f8bd22 Merge "msm: mdss: hdmi: fix HDCP1.4 authentication issues" 2018-03-15 05:43:07 -07:00
Linux Build Service Account
14116ab986 Merge "msm: mdss: hdmi: add SRM support for HDCP1.4" 2018-03-15 05:43:05 -07:00
Linux Build Service Account
2a5717e16e Merge "msm: mdss: Clear pp dirty flags based on program stage" 2018-03-15 05:43:03 -07:00
Linux Build Service Account
2d31100a1f Merge "msm: mdss: hdmi: modify audio event notification sequence." 2018-03-15 05:43:01 -07:00
Linux Build Service Account
e0cfc87421 Merge "msm: mdss: hdmi: reset basic_audio_support parameter" 2018-03-15 05:43:00 -07:00
Linux Build Service Account
1373daa8dd Merge "input: touchscreen: Fix error code in Atmel driver" 2018-03-15 05:42:56 -07:00
Linux Build Service Account
4a12fa6291 Merge "input: touchscreen: Fix uninitialized variable usage in Atmel driver" 2018-03-15 05:42:55 -07:00
Linux Build Service Account
f6a96c6a85 Merge "msm: sde: fix compiler uninitialized warning" 2018-03-15 05:42:53 -07:00
Linux Build Service Account
58b0d29d48 Merge "drm: msm: dsi: fix local variable not initialized issue" 2018-03-15 05:42:51 -07:00
Linux Build Service Account
b542fae9ea Merge "drm/msm/sde: fix flush configuration for physical encoder" 2018-03-15 05:42:49 -07:00
Linux Build Service Account
1915c6a45b Merge "input: touchscreen: synaptics_dsx: Fix uninitialized variable usage" 2018-03-15 05:42:47 -07:00
Linux Build Service Account
a9a39fb11e Merge "input: touchscreen: synaptics_dsx: Handle failure case during probe" 2018-03-15 05:42:46 -07:00
Linux Build Service Account
1440f9531d Merge "defconfig: msm: Disable secure qsee support for msm8996 auto" 2018-03-15 05:42:45 -07:00
Linux Build Service Account
05a93365d7 Merge "drm: msm: sde: fix potential NULL pointer dereference" 2018-03-15 05:42:43 -07:00
Linux Build Service Account
fdbb476754 Merge "fb: msm_dba: fix local variable not initialized issue" 2018-03-15 05:42:41 -07:00
Linux Build Service Account
b41f58b188 Merge "ASoC: msm: Upgrade AFE TDM Driver to support 32 Channels" 2018-03-15 05:42:40 -07:00
Krishna Chaitanya Devarakonda
18dd0531c7 msm: mdss: Signal outstanding fences when panel is dead
When the panel is in dead state, we early return from
the commit. So, the fences wouldn't be signalled till
the next Blank call. Handling this case by signalling
the outstanding fences when panel is in dead state.

Change-Id: I48a5e04707e32de0d1cdccf0592c981e30b618fc
Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
2018-03-15 14:32:11 +05:30
Sachin Bhayare
b725d52ad5 msm: mdss: release retire fence during commit failure
In existing implementation on commit failure release fence are signaled.
But retire fence is not signaled. Which block the framework from
submitting next commit. And result in UI freez.

Add logic to signal retire fence along with release fence commit fails.

Change-Id: I84774280a110339450a1c5ef50eab68168e9bd20
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
2018-03-15 14:27:54 +05:30
Tony Han
0152bff079 ASoC: msm: Fix KW issues for audio drivers
The fixed issues include variable initialization missing and improper NULL
pointer checking.

Change-Id: I5302cf84f7f0414fe0cf69ccc0cafc8225142c5f
Signed-off-by: Tony Han <xiahan@codeaurora.org>
2018-03-15 13:52:52 +08:00
Sandeep Panda
83b4c67e68 msm: mdss: serialize wait for pingpong with kickoff
Serialize wait for pingpong with kickoff when autorefresh
feature is enabled.

Change-Id: Ia51889dd86561e7513b4e7123a9fefb77a26d1ea
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2018-03-15 11:22:23 +05:30
Suprith Malligere Shankaregowda
11d3e1d39f Revert "defconfig: msm: Modify tv tuner config in MSM8996"
This reverts commit 9fd1b000d5.
Revert this now since dependent changes are merged.
The change makes tv tuner driver as a loadable kernel module.

Change-Id: I28e3faf91cacaa40e62b0a30402e35ce28688275
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-14 22:01:00 -07:00
Suprith Malligere Shankaregowda
bf92ce5e7f msm: kgsl: Fix XO shutdown issue
This patch ensures device resumes successfully after
XO shutdown without any KGSL error.

Change-Id: I9eb8e281bc62793dc7521ba72aaeecf946860851
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-14 07:46:40 -07:00
Tirupathi Reddy
cce6e2b4b7 regulator: kryo: fix return value for regulator_disable
Remove uninitialized variable and return value 0 from
regulator_disable().

Change-Id: I920819fbce14d1c6d5f7afac577002aa25b66a05
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2018-03-14 17:31:39 +05:30
Chunhuan Zhan
b5e111203e ARM: dts: msm: change early camera on msm8996 agave
make this change to avoid the clk warning logs
1. remove the repeated clks
2. change the sequence of clks , make the parent clks before children clks
3. add clock-control for early-camera

Change-Id: I1746cbdce3a7335187433ae993637d2db9cdf58e
Signed-off-by: Chunhuan Zhan <zhanc@codeaurora.org>
2018-03-14 03:03:47 -07:00
Sayali Lokhande
ccd33fbf9b scsi: ufs: Avoid uninitialized use of offset
In function ufs_qcom_testbus_config, offset variable is
declared but not initialized. Switch case can take the
default case and use the uninitialized offset variable.
This change fixes the uninitialized use of offset.

Change-Id: I772296ef5606bc519dfcd00bfa6995b2d8646b9c
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2018-03-14 15:20:10 +05:30
Andy Sun
0f75061830 ais: sync clk status and tasklet
1. add set_clk_status user interface;
2. exit delayed tasklet without processing if clk disabled;
3. protect process_halt_irq();

Change-Id: I66c933ac9b9e2dacd4dec20b646ef297cd18920d
Signed-off-by: Andy Sun <bins@codeaurora.org>
2018-03-14 17:36:46 +08:00
Srikanth Uyyala
ac77b7cb6c msm: isp: Clear irq status if irq is set again with same value
Sometimes same irq is received even after clearing irq.
make sure irq status is rest by clearing the irq again.

Change-Id: Ib5355a4b9952fa7f02d1dea69b5fb767928e4b9f
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2018-03-14 10:42:10 +05:30
Suprith Malligere Shankaregowda
5062822060 msm: ais: isp: Handling buffer use after getting it freed
In the code, start_fetch can try to access the buffer
pointer variable after free, as the same pointer can
can be freed at RELEASE_BUF call too at the same time.
Hence fixing this race condition.

Change-Id: I8dccddcc1965d4baaece6f83755eb122a18bc12b
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-13 21:53:22 -07:00
Cong Tang
b6a23b8350 ASoC: msm: Fix adding channel mixer control failure issue
Add channel mixer control according to device direction defined
in dai_link.

Change-Id: I93db385f95334f168427a734459a8707df61ba7c
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-03-13 21:40:08 -07:00
Srikanth Uyyala
8aa5106e44 msm: isp: Add pingpong status to tasklet command
We read pingpong status while handling axi and stats irqs
in tasklet. Due to scheduling delays in tasklet pingpong status is
changing by the time we read. So, read ping pong status in ISR
and forward it to tasklet.

Change-Id: Ib83929cb8e15c28e34ee06275a87b5d6fbfd00e6
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2018-03-14 10:04:17 +05:30
Narender Ankam
8eba91adf8 msm: mdss: hdmi: fix HDCP1.4 authentication issues
After part I authentication, SW DDC is not disabled and because of
this, we observe arbitration issues during part III authentication.
Disable SW DDC before starting part III of HDCP authentication.

Fail part II of authentication with repeater if its device count is zero.

Change-Id: I72f5b1115c094d4a72ae2b324f3903cdb195e5fe
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2018-03-13 21:12:50 -07:00
Narender Ankam
2cc1946a7a msm: mdss: hdmi: add SRM support for HDCP1.4
Extend HDCP1.4 SRM support for fb based hdmi driver as well.

Change-Id: I3d6597503d95b066d1fcfa71218cdda70965fbd0
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2018-03-13 21:11:05 -07:00
Narender Ankam
1a51baa68a msm: mdss: hdmi: add SRM support for HDCP2.2
Extend HDCP2.2 SRM support for fb based hdmi driver as well.

Change-Id: I39bef2a814c2a2404a0a03584f23c58c69c10909
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2018-03-13 21:09:40 -07:00