Commit graph

577574 commits

Author SHA1 Message Date
David Keitel
626da03683 PM / devfreq: memlat: add device attribute to show core to device bw map
This adds the freq_map device attribute to the mem_latency governor in
order to display a given device's core frequency to device bandwidth.
The output should be printed in the formatted in the same way as the
example:

Core freq (MHz) Device BW
            300      1525
            480      3143
            900      4173
           1017      7759
           1296      9887
           1555     11863
           1804     13763

Change-Id: I6bef33a1239329f0687ee3983c2c02d84e984284
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-10-11 15:05:27 -07:00
Vikram Panduranga
7f43c41e90 ASoC: msm: qdsp6v2: Index check for out of range
Check if index is a non-negative value before it is used.
Also, initialize return variable to default value before
it is used so that it does not return uninitialized value.

CRs-Fixed: 1059495
Change-Id: I94a6fc02436734b4f398d1a72f53b3ae68612679
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2016-10-11 15:05:00 -07:00
Mahesh Sivasubramanian
76f19255c9 ARM: dts: msm: Enable System sleep stats for MSM8998
Add device nodes for RPM master stats, CPR rail stats, system stats and
Logs. The stats allow users to verify/monitor the entry/exit of System
statistics.

Change-Id: Ie326495e012b693b47b33a4818ec11485afd88e9
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-10-11 16:00:50 -06:00
Venkat Gopalakrishnan
2d64367038 scsi: ufs-qcom: avoid sleep in atomic context
Minimize the number of debug registers printed in atomic context
during error and also avoid sleeping in atomic context.

Change-Id: Ic5f3260c433e2d99d3a87a80dae0106dc622c4b7
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-10-11 14:13:08 -07:00
Osvaldo Banuelos
d345d14532 clk: msm: clock-osm: enable WDOG status registers for msmcobalt v2
Enable the watchdog status registers for msmcobalt v2. This
feature must be specifically enabled in the OSM controller
of msmcobalt v2.

CRs-Fixed: 1076523
Change-Id: I1eb5c61037004e200e8f261d6e39b73028f04ab4
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-10-11 13:36:21 -07:00
Amar Singhal
ba5536a6aa msm: wlan: Change Egypt regulatory rules
Egypt does not allow 40 mhz for 2.4 GHZ channels. Change the rules
accordingly.

CRs-Fixed: 1076547
Change-Id: I8ef4a258e55e3dbbc3cd67472a5f2d3931d26c12
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2016-10-11 13:30:24 -07:00
Oleg Perelet
237cd9fbf6 msm: kgsl: Remove use of uninitialized variable
During certain code execution paths dev_ab can be assigned
not initialized value.

CRs-Fixed: 1074208
Change-Id: I330a50f6d171497e5b6d3e44e8ce2b09f2d644e3
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-10-11 12:32:09 -07:00
Linux Build Service Account
c30ea8b0c1 Merge "msm: mdss: edid: parse dtd and proper fps and pclk check" 2016-10-11 11:35:22 -07:00
Linux Build Service Account
ae7908ba22 Merge "msm: mdss: displayport: replace delayed work with work" 2016-10-11 11:35:20 -07:00
Linux Build Service Account
ebe54d193f Merge "msm: mdss: displayport: fix link training 2 for dp dongles" 2016-10-11 11:35:19 -07:00
Osvaldo Banuelos
1cae513409 clk: msm: clock-osm: Set Nominal Fmax frequency for boot
Request the Nominal Fmax as the boot frequency for
each cluster during probe. This is done to ensure reasonable
boot time.

CRs-Fixed: 994035
Change-Id: Ic2dac9bdc1cd9f9b8d236997eba2e63295d6b4c0
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-10-11 10:58:16 -07:00
Garmond Leung
322b48c2be ASoC: codecs: Add teardown() call in shutdown
Display driver has a timeout to avoid prematurely turning
off audio engine. Add teardown function call to ensure
that display driver can turn off audio engine once audio
driver acknowledges the shutdown, so display driver
doesn't have to wait for the entire timeout period.

CRs-Fixed: 1075659
Change-Id: Ib8211a85543b659b7b19a6ebb85382dbbbecfec6
Signed-off-by: Garmond Leung <garmondl@codeaurora.org>
2016-10-11 10:33:17 -07:00
Linux Build Service Account
c5cfd3c491 Merge "msm: ipa3: add check on qmi-client handler" 2016-10-11 01:17:09 -07:00
Linux Build Service Account
4e8d48bcbc Merge "ASoC: msm: fix lowlatency playback and FM concurrency issue" 2016-10-11 01:17:08 -07:00
Linux Build Service Account
cba56402ec Merge "qpnp-fg-gen3: add support to configure and handle delta battery temperature" 2016-10-11 01:17:06 -07:00
Linux Build Service Account
cc15ff225b Merge "ARM: dts: msm: Add lpg-lut-size property for pmicobalt" 2016-10-11 01:17:05 -07:00
Linux Build Service Account
0021bd0688 Merge "pwm: qpnp: Add support to read the LPG LUT size from device tree" 2016-10-11 01:17:04 -07:00
Linux Build Service Account
f9e72fc169 Merge "iommu: msm: add barrier call on coherent lazy map" 2016-10-11 01:16:57 -07:00
Linux Build Service Account
39de1de421 Merge "iommu/io-pgtable-arm: Make cacheable mappings outer-shareable" 2016-10-11 01:16:56 -07:00
Linux Build Service Account
ec859f16f6 Merge "iommu: Remove obsolete domain attribute" 2016-10-11 01:16:56 -07:00
Linux Build Service Account
772e0827b3 Merge "iommu/arm-smmu: Remove DOMAIN_ATTR_COHERENT_HTW_DISABLE" 2016-10-11 01:16:55 -07:00
Linux Build Service Account
95e0723486 Merge "icnss: Remove obsolete IOMMU domain attribute" 2016-10-11 01:16:55 -07:00
Linux Build Service Account
5b9a8f932e Merge "msm: ADSPRPC: Remove obsolete IOMMU domain attribute" 2016-10-11 01:16:54 -07:00
Linux Build Service Account
3fe3b20c5e Merge "msm: kgsl: Remove obsolete IOMMU domain attribute" 2016-10-11 01:16:53 -07:00
Linux Build Service Account
90201c4964 Merge "msm: mdss: Remove obsolete IOMMU domain attribute" 2016-10-11 01:16:51 -07:00
Xiaojun Sang
a9e679905b ASoC: tavil: fix kctl_put and get function for SLIM RXX MUX
Incorrect values are received when queried for SLIM RXX MUX.
This is due to incorrect logic in the put and get functions
of this kctl. Correct the logic to fix this issue.

CRs-Fixed: 1074866
Change-Id: Ib1fda1fcbc09e132f1b3deaf4a65fe8617ff9d10
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-10-11 00:36:06 -07:00
Xiaojun Sang
de352c72d1 ASoC: qdsp6v2: fix potential bug of infinite loop
When variable bufsz equals to 0, there would be infinite loop
at q6asm_audio_client_buf_alloc.
Fix the potential bug by checking bufsz beforehand.

CRs-Fixed: 1072280
Change-Id: I9640112b8945dc603e3af55fc1096bea9f7e6634
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-10-11 14:40:22 +08:00
Subbaraman Narayanamurthy
c7efbfffc8 qpnp-smb2: smb-lib: update reading charge_done property
Instead of setting charge_done property from smb-lib when
handling chg_state_change interrupt, move it to a separate
function which reads the hardware register directly and
updates it. Since this doesn't require a set_property callback,
remove it.

Change-Id: I1005b135f5e16111257902413ef2b44c09cb1cfc
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-10 20:26:01 -07:00
Hemant Kumar
5c1156edbe defconfig: Enable USB MIDI Function driver for msmcobalt
This change enables USB MIDI class function driver using
CONFIG_USB_CONFIGFS_F_MIDI.

Change-Id: I969ae3a99f2987abeca51823fe346f383cb23b55
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-10-10 18:31:35 -07:00
Linux Build Service Account
2e928295ca Merge "tcp: make challenge acks less predictable" 2016-10-10 18:28:37 -07:00
Linux Build Service Account
6a9cd0c699 Merge "msm: kgsl: Modify dispatcher to accept generic objects" 2016-10-10 18:28:35 -07:00
Linux Build Service Account
664fd91a17 Merge "input: misc: pat9125: code clean-up in pat9125 driver" 2016-10-10 18:28:34 -07:00
Linux Build Service Account
7aa0f78d97 Merge "ARM: dts: msm: Add revid phandle to read FAB ID" 2016-10-10 18:28:32 -07:00
Linux Build Service Account
140302afbd Merge "iio: rradc: Add temperature compensation for die temperature" 2016-10-10 18:28:32 -07:00
Linux Build Service Account
9ed826722e Merge "ARM: dts: msm: add VDD_APC0/1 CPR aging configurations for msmcobalt" 2016-10-10 18:28:30 -07:00
Linux Build Service Account
3e53c4d76c Merge "qcom-charger: software fix for OTG soft-start" 2016-10-10 18:28:29 -07:00
Linux Build Service Account
4fc0b5ac1b Merge "msm: gsi: driver upgrade for gsi version 1.2 and 1.3" 2016-10-10 18:28:28 -07:00
Linux Build Service Account
fe9dc22a37 Merge "KEYS: Fix ASN.1 indefinite length object parsing" 2016-10-10 18:28:28 -07:00
Linux Build Service Account
9ab222a34e Merge "msm: cpp: Add support pagefault handler in CPP driver" 2016-10-10 18:28:26 -07:00
Linux Build Service Account
d22b9628a4 Merge "sched: Add cgroup attach functionality to the tune controller" 2016-10-10 18:28:25 -07:00
Linux Build Service Account
d396fc7c69 Merge "sched: Update the number of tune groups to 5" 2016-10-10 18:28:25 -07:00
Linux Build Service Account
7f3caa710f Merge "sched/tune: add initial support for CGroups based boosting" 2016-10-10 18:28:24 -07:00
Linux Build Service Account
db5b016bf7 Merge "qpnp-fg-gen3: add support to restart fuel gauge" 2016-10-10 18:28:21 -07:00
Linux Build Service Account
d610af9453 Merge "qpnp-fg-gen3: Add support to configure force battery profile loading" 2016-10-10 18:28:20 -07:00
Linux Build Service Account
6ce9b4fee4 Merge "msm: kgsl: Remove GPU BCL and LMH support" 2016-10-10 18:28:19 -07:00
Linux Build Service Account
8eea4dac61 Merge "mdss: DisplayPort: add support for multiple resolutions" 2016-10-10 18:28:16 -07:00
Linux Build Service Account
4d5d3bb023 Merge "msm: mdss: edid: limit resolutions support based on interface" 2016-10-10 18:28:16 -07:00
Linux Build Service Account
31e788f9f2 Merge "mdss: DisplayPort: update link-training settings and do DP reset" 2016-10-10 18:28:15 -07:00
Linux Build Service Account
5cdf898e80 Merge "ARM: dts: enable broadcast in nt35597 dual-dsi panels for msmcobalt" 2016-10-10 18:28:13 -07:00
Linux Build Service Account
587e8c28dd Merge "ARM: dts: reduce reset delays for nt35597 panels" 2016-10-10 18:28:12 -07:00