OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agomsm: kgsl: Add and link gpu sysfs nodes
Harshdeep Dhatt [Fri, 2 Sep 2016 16:48:58 +0000 (10:48 -0600)]
msm: kgsl: Add and link gpu sysfs nodes

Add new sysfs nodes which satisfy a generic format requested
by customer. Also add a new node to track GPU temperature.
Create links to these nodes at a generic location:

/sys/kernel/gpu/

CRs-Fixed: 1064728
Change-Id: I414a07ff4f9ee14b8f882d15644b06a73d5fcf76
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
7 years agoMerge "clk: msm: clock-gpu-cobalt: Update the graphics core clock frequency"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:03 +0000 (10:35 -0700)]
Merge "clk: msm: clock-gpu-cobalt: Update the graphics core clock frequency"

7 years agoMerge "sched: Fix CPU selection when all online CPUs are isolated"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:02 +0000 (10:35 -0700)]
Merge "sched: Fix CPU selection when all online CPUs are isolated"

7 years agoMerge "ARM: dts: msm: enable mi2s and aux pcm on msmcobalt"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:01 +0000 (10:35 -0700)]
Merge "ARM: dts: msm: enable mi2s and aux pcm on msmcobalt"

7 years agoMerge "ARM: dts: msm: add support for TDM"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:01 +0000 (10:35 -0700)]
Merge "ARM: dts: msm: add support for TDM"

7 years agoMerge "ARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:00 +0000 (10:35 -0700)]
Merge "ARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes"

7 years agoMerge "sched: Add a stub function for init_clusters()"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:59 +0000 (10:34 -0700)]
Merge "sched: Add a stub function for init_clusters()"

7 years agoMerge "sched: add a knob to prefer the waker CPU for sync wakeups"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:58 +0000 (10:34 -0700)]
Merge "sched: add a knob to prefer the waker CPU for sync wakeups"

7 years agoMerge "ASoC: msm: qdsp6v2: Fix improper channel config for aac"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:58 +0000 (10:34 -0700)]
Merge "ASoC: msm: qdsp6v2: Fix improper channel config for aac"

7 years agoMerge "ASoC: msm: Update the error handling when APR sends packet failed"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:57 +0000 (10:34 -0700)]
Merge "ASoC: msm: Update the error handling when APR sends packet failed"

7 years agoMerge "hrtimer: Ensure timer is not running before migrating"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:56 +0000 (10:34 -0700)]
Merge "hrtimer: Ensure timer is not running before migrating"

7 years agoMerge "ARM: dts: msm: add TSPP support for msmcobalt"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:55 +0000 (10:34 -0700)]
Merge "ARM: dts: msm: add TSPP support for msmcobalt"

7 years agoMerge "input: synaptics_dsx_core: make clocks as optional for secure touch"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:54 +0000 (10:34 -0700)]
Merge "input: synaptics_dsx_core: make clocks as optional for secure touch"

7 years agoMerge "blk-mq: use static mapping"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:53 +0000 (10:34 -0700)]
Merge "blk-mq: use static mapping"

7 years agoMerge "defconfig: msmcortex: disable RMI4 dev module"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:52 +0000 (10:34 -0700)]
Merge "defconfig: msmcortex: disable RMI4 dev module"

7 years agoMerge "msm: vidc: Disable power collapse for HFR"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:42 +0000 (05:54 -0700)]
Merge "msm: vidc: Disable power collapse for HFR"

7 years agoMerge "ASoC: msm: qdsp6v2: add routing map for multimedia6"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:41 +0000 (05:54 -0700)]
Merge "ASoC: msm: qdsp6v2: add routing map for multimedia6"

7 years agoMerge "clk: qcom: Add support to force enable/disable the RCG"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:40 +0000 (05:54 -0700)]
Merge "clk: qcom: Add support to force enable/disable the RCG"

7 years agoMerge "ARM: dts: msm: Add the pmfalcon and pm2falcon dtsi files"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:38 +0000 (05:54 -0700)]
Merge "ARM: dts: msm: Add the pmfalcon and pm2falcon dtsi files"

7 years agoMerge "Bluetooth: HID: Add Bus type for specific HID Keyboard"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:38 +0000 (05:54 -0700)]
Merge "Bluetooth: HID: Add Bus type for specific HID Keyboard"

7 years agoASoC: msm: qdsp6v2: Fix improper channel config for aac
Naresh Tanniru [Wed, 21 Sep 2016 11:26:40 +0000 (16:56 +0530)]
ASoC: msm: qdsp6v2: Fix improper channel config for aac

AAC encode is failing in ADSP due to mismatch
in channel config datatype.
Update channel config data type for aac encoder.

Change-Id: I844d6e1ac1b2b171cd74a2601ae09280a22589c9
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
7 years agoARM: dts: msm: enable mi2s and aux pcm on msmcobalt
Kuirong Wang [Fri, 16 Sep 2016 21:12:27 +0000 (14:12 -0700)]
ARM: dts: msm: enable mi2s and aux pcm on msmcobalt

Add device tree changes to enable mi2s and aux pcm so audio
can be playback and capture via mi2s and aux pcm interfaces.

CRs-Fixed: 1047362 1047365
Change-Id: I6d8f31cf841cb977bd1d7af3441b9d2c1da9b85c
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
7 years agosched: Add a stub function for init_clusters()
Pavankumar Kondeti [Sat, 1 Oct 2016 05:36:13 +0000 (11:06 +0530)]
sched: Add a stub function for init_clusters()

Add a stub function for init_cluster() and remove a ifdefry
for SCHED_HMP in sched_init()

Change-Id: I6745485152d735436d8398818f7fb5e70ce5ee65
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agosched: add a knob to prefer the waker CPU for sync wakeups
Pavankumar Kondeti [Tue, 6 Sep 2016 06:29:28 +0000 (11:59 +0530)]
sched: add a knob to prefer the waker CPU for sync wakeups

The current policy has a preference to select an idle CPU in the waker
cluster compared to the waker CPU running only 1 task. By selecting
an idle CPU, it eliminates the chance of waker migrating to a
different CPU after the wakee preempts it. This policy is also not
susceptible to the incorrect "sync" usage i.e the waker does not
goto sleep after waking up the wakee.

However LPM exit latency associated with an idle CPU outweigh the
above benefits on some targets. So add a knob to prefer the waker
CPU having only 1 runnable task over idle CPUs in the waker cluster.

Change-Id: Id974748c07625c1b19112235f426a5d204dfdb33
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agoMerge "usb: gadget: f_cdev: Fix memory leak with func_name"
Linux Build Service Account [Sat, 1 Oct 2016 17:41:53 +0000 (10:41 -0700)]
Merge "usb: gadget: f_cdev: Fix memory leak with func_name"

7 years agoMerge "usb: gadget: f_cdev: Remove func_name and port_num attributes"
Linux Build Service Account [Sat, 1 Oct 2016 17:41:52 +0000 (10:41 -0700)]
Merge "usb: gadget: f_cdev: Remove func_name and port_num attributes"

7 years agoMerge "ASoC: soc: change audio cpe drivers to use %pK"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:05 +0000 (18:24 -0700)]
Merge "ASoC: soc: change audio cpe drivers to use %pK"

7 years agoMerge "msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:04 +0000 (18:24 -0700)]
Merge "msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW"

7 years agoMerge "scsi: ufs: gate ref_clk during aggressive clk gating"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:03 +0000 (18:24 -0700)]
Merge "scsi: ufs: gate ref_clk during aggressive clk gating"

7 years agoMerge "clk: qcom: Add support to register rpm-smd clocks"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:02 +0000 (18:24 -0700)]
Merge "clk: qcom: Add support to register rpm-smd clocks"

7 years agoMerge "msm: kgsl: Change GPU clock gating sequence for A4XX and A5XX"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:02 +0000 (18:24 -0700)]
Merge "msm: kgsl: Change GPU clock gating sequence for A4XX and A5XX"

7 years agoMerge "msm: kgsl: Fix dispatch_q NULL dereference"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:01 +0000 (18:24 -0700)]
Merge "msm: kgsl: Fix dispatch_q NULL dereference"

7 years agoMerge "ASoC: wcd934x: Add support for HPH surge recovery"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:59 +0000 (18:23 -0700)]
Merge "ASoC: wcd934x: Add support for HPH surge recovery"

7 years agoMerge "ASoC: wcd934x: Use correct API for force enable micbias"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:59 +0000 (18:23 -0700)]
Merge "ASoC: wcd934x: Use correct API for force enable micbias"

7 years agoMerge "ASoC: wcd934x: send TX/RX PGD register CFG to AFE"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:58 +0000 (18:23 -0700)]
Merge "ASoC: wcd934x: send TX/RX PGD register CFG to AFE"

7 years agoMerge "ASoC: wcd934x: add decimator 5 and 6 volume controls"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:57 +0000 (18:23 -0700)]
Merge "ASoC: wcd934x: add decimator 5 and 6 volume controls"

7 years agoMerge "usb: pd: Print out source/sink subtypes"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:56 +0000 (18:23 -0700)]
Merge "usb: pd: Print out source/sink subtypes"

7 years agoMerge "clk: qcom: Add support for GCC clock for MSMFalcon"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:56 +0000 (18:23 -0700)]
Merge "clk: qcom: Add support for GCC clock for MSMFalcon"

7 years agoMerge "msm: ipa: Recycle wan buffer"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:55 +0000 (18:23 -0700)]
Merge "msm: ipa: Recycle wan buffer"

7 years agoMerge "power: qpnp-fg-gen3: fix SRAM encodings"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:53 +0000 (18:23 -0700)]
Merge "power: qpnp-fg-gen3: fix SRAM encodings"

7 years agoMerge "qpnp-smb2: add missing battery psy properties for healthd"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:53 +0000 (18:23 -0700)]
Merge "qpnp-smb2: add missing battery psy properties for healthd"

7 years agoMerge "icnss: Add support for disabling vbatt notification"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:51 +0000 (18:23 -0700)]
Merge "icnss: Add support for disabling vbatt notification"

7 years agoMerge "msm: kgsl: Do not free gpuaddr range if unmap fails"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:51 +0000 (18:23 -0700)]
Merge "msm: kgsl: Do not free gpuaddr range if unmap fails"

7 years agoMerge "clk: msm: clock-mmss-cobalt: Update the video core clock frequencies"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:50 +0000 (18:23 -0700)]
Merge "clk: msm: clock-mmss-cobalt: Update the video core clock frequencies"

7 years agoMerge "clk: msm: clock: Add the non_local_control_timeout flag to ahb_clk_src"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:49 +0000 (18:23 -0700)]
Merge "clk: msm: clock: Add the non_local_control_timeout flag to ahb_clk_src"

7 years agoMerge "mam: ipa: always add default flt rule at the end"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:49 +0000 (18:23 -0700)]
Merge "mam: ipa: always add default flt rule at the end"

7 years agoMerge "sched: don't assume higher capacity means higher power in lb"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:48 +0000 (18:23 -0700)]
Merge "sched: don't assume higher capacity means higher power in lb"

7 years agoMerge "msm: sde: Adjust SDE rotator clock and BW calculation"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:47 +0000 (18:23 -0700)]
Merge "msm: sde: Adjust SDE rotator clock and BW calculation"

7 years agoMerge "msm: camera: Add regulator enable and disable independent of CSID"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:46 +0000 (18:23 -0700)]
Merge "msm: camera: Add regulator enable and disable independent of CSID"

7 years agoMerge "scsi: ufs-debugfs: Fix hba access"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:46 +0000 (18:23 -0700)]
Merge "scsi: ufs-debugfs: Fix hba access"

7 years agoMerge "msm: ipa: unlock WLAN doorbell register access"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:45 +0000 (18:23 -0700)]
Merge "msm: ipa: unlock WLAN doorbell register access"

7 years agoMerge "ASoC: wcd934x: Add support for digital core power collapse"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:44 +0000 (18:23 -0700)]
Merge "ASoC: wcd934x: Add support for digital core power collapse"

7 years agoMerge "ARM: dts: msm: Add 2.3 GHz performance cluster support on MSMCOBALT v2"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:43 +0000 (18:23 -0700)]
Merge "ARM: dts: msm: Add 2.3 GHz performance cluster support on MSMCOBALT v2"

7 years agoMerge "usb: pd: Clear requested_voltage/current values on disconnect"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:42 +0000 (18:23 -0700)]
Merge "usb: pd: Clear requested_voltage/current values on disconnect"

7 years agoMerge "clk: msm: Fix compilation for clock_debug_print_enabled"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:41 +0000 (18:23 -0700)]
Merge "clk: msm: Fix compilation for clock_debug_print_enabled"

7 years agoMerge "ARM: dts: msm: Change L7A/L17A/L25A on msmcobalt"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:40 +0000 (18:23 -0700)]
Merge "ARM: dts: msm: Change L7A/L17A/L25A on msmcobalt"

7 years agoMerge "usb: pd: Add support to set the maximum speed via extcon"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:39 +0000 (18:23 -0700)]
Merge "usb: pd: Add support to set the maximum speed via extcon"

7 years agoMerge "clk: qcom: Add support for regulator based GDSC control"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:36 +0000 (18:23 -0700)]
Merge "clk: qcom: Add support for regulator based GDSC control"

7 years agoMerge "ASoC: msm: limit audiosphere driver logics to legacy soc"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:35 +0000 (18:23 -0700)]
Merge "ASoC: msm: limit audiosphere driver logics to legacy soc"

7 years agoMerge "clk: msm: clock-mmss-cobalt: Update FMAXes for camera clocks on MSMCOBALT"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:35 +0000 (18:23 -0700)]
Merge "clk: msm: clock-mmss-cobalt: Update FMAXes for camera clocks on MSMCOBALT"

7 years agoMerge "ASoC: wsa881x: Avoid removing of already deleted timer object"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:34 +0000 (18:23 -0700)]
Merge "ASoC: wsa881x: Avoid removing of already deleted timer object"

7 years agoMerge "PM / devfreq: bimc-bwmon: Fix rounding error"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:33 +0000 (18:23 -0700)]
Merge "PM / devfreq: bimc-bwmon: Fix rounding error"

7 years agoMerge "arm64: Add back print of processor name and rev"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:33 +0000 (18:23 -0700)]
Merge "arm64: Add back print of processor name and rev"

7 years agoMerge "ecryptfs: forbid opening files without mmap handler"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:32 +0000 (18:23 -0700)]
Merge "ecryptfs: forbid opening files without mmap handler"

7 years agoMerge "sched: panic on corrupted stack end"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:31 +0000 (18:23 -0700)]
Merge "sched: panic on corrupted stack end"

7 years agoMerge "netfilter: x_tables: validate e->target_offset early"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:30 +0000 (18:23 -0700)]
Merge "netfilter: x_tables: validate e->target_offset early"

7 years agoMerge "netfilter: x_tables: make sure e->next_offset covers remaining blob size"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:30 +0000 (18:23 -0700)]
Merge "netfilter: x_tables: make sure e->next_offset covers remaining blob size"

7 years agoMerge "cdc_ncm: do not call usbnet_link_change from cdc_ncm_bind"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:29 +0000 (18:23 -0700)]
Merge "cdc_ncm: do not call usbnet_link_change from cdc_ncm_bind"

7 years agoMerge "proc: prevent stacking filesystems on top"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:28 +0000 (18:23 -0700)]
Merge "proc: prevent stacking filesystems on top"

7 years agoMerge "netfilter: x_tables: fix unconditional helper"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:27 +0000 (18:23 -0700)]
Merge "netfilter: x_tables: fix unconditional helper"

7 years agoMerge "KEYS: potential uninitialized variable"
Linux Build Service Account [Sat, 1 Oct 2016 01:23:26 +0000 (18:23 -0700)]
Merge "KEYS: potential uninitialized variable"

7 years agosched: Fix CPU selection when all online CPUs are isolated
Syed Rameez Mustafa [Sat, 1 Oct 2016 00:21:40 +0000 (17:21 -0700)]
sched: Fix CPU selection when all online CPUs are isolated

After the introduction of "33c24b sched: add cpu isolation support"
select_fallback_rq() might sometimes be unable find any CPU to place
a task on. This happens when the all online CPUs are isolated and
the allow isolated flag is set to false. In such cases, we have
little choice but to use an isolated CPU and wait for core control
to eventually un-isolate one or more online CPUs.

Change-Id: Id8738bd8493c11731c5491efcc99eb90f051233e
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agohrtimer: Ensure timer is not running before migrating
Olav Haugan [Sat, 1 Oct 2016 00:04:11 +0000 (17:04 -0700)]
hrtimer: Ensure timer is not running before migrating

A timer might be running when we are trying to move the timer to another
CPU so ensure that we wait for the timer to finish before migrating.

Change-Id: I4c9ee39c715baebfbdb8a50476a475e38b092f70
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agoARM: dts: msm: add support for TDM
Josh Kirsch [Tue, 30 Aug 2016 21:03:45 +0000 (14:03 -0700)]
ARM: dts: msm: add support for TDM

Add support for TDM on msmcobalt.
Time-division multiplexing (TDM) is a method of
transmitting data in the time domain. This can
be used to support data rates that exceed that of
the transmitted signal or to have up to 8 channel
support on a bus that normally supports less in
the frequency domain.

CRs-fixed: 1070764
Change-Id: Id3cabe07ee92a7c3546eab304f650d397b94f7de
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
7 years agoARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes
Deepak Katragadda [Wed, 14 Sep 2016 20:32:58 +0000 (13:32 -0700)]
ARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes

The core and peripheral memory retention bits no longer need to
be set and cleared by the GDSC driver on MSMCOBALT. Instead, the
individual client drivers will use the clk_set_flags API as needed
to toggle these bits.

CRs-Fixed: 1069091
Change-Id: I898f627ce90251166a5f4314daca61e5ba958e6b
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
7 years agoASoC: msm: Update the error handling when APR sends packet failed
Kuirong Wang [Fri, 23 Sep 2016 22:11:15 +0000 (15:11 -0700)]
ASoC: msm: Update the error handling when APR sends packet failed

Update the error handling when APR sends packet failed so that audio
driver can perform proper error recovery.

CRs-Fixed: 1050605
Change-Id: I6210e244e6299ec747836f40d03e92c15c6e53ee
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
7 years agomsm: kgsl: Change GPU clock gating sequence for A4XX and A5XX
Hareesh Gundu [Wed, 24 Aug 2016 06:00:04 +0000 (11:30 +0530)]
msm: kgsl: Change GPU clock gating sequence for A4XX and A5XX

Disable SP clock before programming the clock gating control
registers and enable back SP clock.

CRs-Fixed: 1061048
Change-Id: Ic19a8a67fe0e192c9c7c3f855c7eb33901ca2adc
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
7 years agopower: qpnp-fg-gen3: fix SRAM encodings
Subbaraman Narayanamurthy [Mon, 19 Sep 2016 18:17:59 +0000 (11:17 -0700)]
power: qpnp-fg-gen3: fix SRAM encodings

There are some encoding changes to the following configurations
in pmi8998 SRAM. Update them.

For both v1.1 and v2.0,
- No sign bit for charge termination current

For v2.0,
- 6 bit encoding for empty voltage and vbatt_low

While at it, fix the SRAM byte location from byte 2 to byte 3 for
configuring empty voltage threshold in pmi8998v2.0.

CRs-Fixed: 1068592
Change-Id: I3a301aed1b23ab78aa86b24c11eb750502adab2f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agomsm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW
Liam Mark [Thu, 22 Sep 2016 18:30:51 +0000 (11:30 -0700)]
msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW

Add support for VMID_CP_CAMERA_PREVIEW

Change-Id: Ifacc1ff95262c6240283d19cf02dcac37933c141
Signed-off-by: Liam Mark <lmark@codeaurora.org>
7 years agomsm: kgsl: Fix dispatch_q NULL dereference
Hareesh Gundu [Wed, 28 Sep 2016 05:50:49 +0000 (11:20 +0530)]
msm: kgsl: Fix dispatch_q NULL dereference

Add a NULL check for dispatch_q which will avoid
NULL pointer dereference in dispatcher_do_fault().

Change-Id: I429aa91f9c5fa92ce2e8b23cc4911454744f75c9
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
7 years agoASoC: soc: change audio cpe drivers to use %pK
Xiaojun Sang [Tue, 30 Aug 2016 07:31:56 +0000 (15:31 +0800)]
ASoC: soc: change audio cpe drivers to use %pK

Change cpe driver to use %pK instead of %p.
%pK hides addresses when the users doesn't
have kernel permissions. If address information
is needed echo 0 > /proc/sys/kernel/kptr_restrict.

CRs-Fixed: 1052832
Change-Id: I741d9e5c5b415011348e862c3f1ee4fe28c3969f
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
7 years agoASoC: wcd934x: send TX/RX PGD register CFG to AFE
Walter Yang [Mon, 26 Sep 2016 06:56:25 +0000 (14:56 +0800)]
ASoC: wcd934x: send TX/RX PGD register CFG to AFE

AFE requires TX/RX PGD register CFG info based on different wcd
codecs. Send this info when AFE configs are set at initialization.

Change-Id: I0da3d41fe8c1d03baacf2f2a9d2e141c9721981b
CRs-Fixed: 877188
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
7 years agoqpnp-smb2: add missing battery psy properties for healthd
Nicholas Troast [Tue, 20 Sep 2016 22:33:20 +0000 (15:33 -0700)]
qpnp-smb2: add missing battery psy properties for healthd

healthd expects battery voltage, current, temperature, and technology from
the battery power supply. Add them.

Change-Id: I85f589030903ead938af2712875eb5daa81710d9
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoqpnp-fg-gen3: add algorithm flags debugfs file
Nicholas Troast [Wed, 7 Sep 2016 23:17:47 +0000 (16:17 -0700)]
qpnp-fg-gen3: add algorithm flags debugfs file

The fuel gauge has several algorithm flags which are useful for
debugging. Add a debugfs file called alg_flags to expose them.

Change-Id: Ibeeea88e2e0745e98e8bfdfa3e086263d82e7bac
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoASoC: wcd934x: add decimator 5 and 6 volume controls
Vidyakumar Athota [Fri, 30 Sep 2016 02:21:34 +0000 (19:21 -0700)]
ASoC: wcd934x: add decimator 5 and 6 volume controls

Decimator 5 and 6 volume controls are missing in wcd934x
codec. Add missing decimator volume controls.

Change-Id: I86f4f7bd2e337f7cc404ba7fb7905d18f67e604c
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
7 years agoscsi: ufs: gate ref_clk during aggressive clk gating
Venkat Gopalakrishnan [Mon, 26 Sep 2016 22:49:49 +0000 (15:49 -0700)]
scsi: ufs: gate ref_clk during aggressive clk gating

Gate ref clock along with other ufs clocks during aggressive
clock gating. The latencies involved in voting/devoting ref clk
is acceptable. This will allow faster XO shutdown instead of
gating off the clock during 3s idle runtime suspend.

Change-Id: I6e160f62f3600adf28997d5bb2868d1924208d42
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
7 years agoASoC: wcd934x: Add support for HPH surge recovery
Yeleswarapu Nagaradhesh [Tue, 13 Sep 2016 15:35:58 +0000 (08:35 -0700)]
ASoC: wcd934x: Add support for HPH surge recovery

Add support for headphone surge recovery (up to -80v)
on wcd934x audio codec.

Change-Id: Ibcf4a0be857db7054e9a95ad8f78483f4cbc6dd4
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
7 years agoASoC: wcd934x: Add pre/post HPHL/R PA off notifications
Phani Kumar Uppalapati [Fri, 30 Sep 2016 00:27:34 +0000 (17:27 -0700)]
ASoC: wcd934x: Add pre/post HPHL/R PA off notifications

Send headphone left/right PA off notifications in pre/post
events for client drivers like MBHC, to update their status
correctly.

Change-Id: I2a27e9f59bd5d1ce99245df51cde9e6eb4133387
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
7 years agoASoC: wcd934x: Use correct API for force enable micbias
Phani Kumar Uppalapati [Thu, 29 Sep 2016 23:42:00 +0000 (16:42 -0700)]
ASoC: wcd934x: Use correct API for force enable micbias

Use correct soc-dapm API - soc_dapm_force_enable_pin()-
for force enable standalone micbias. This function executes
in dapm_mutex locked context.

Change-Id: Iff6f3ff779f69e0b3e42dba035330c2efe7352ce
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
7 years agosoc-dapm: Fix double mutex lock
Phani Kumar Uppalapati [Thu, 29 Sep 2016 23:35:16 +0000 (16:35 -0700)]
soc-dapm: Fix double mutex lock

dapm_mutex lock is acquired from soc_dapm_force_enable_pin_unlocked
function which will cause double lock because the same mutex is
acquired in soc_dapm_force_enable_pin(). Fix this issue by removing
dapm_mutex acquire from soc_dapm_force_enable_pin_unlocked function.

Change-Id: I21374ba6c92d6fbc088af7660f5ada32be725991
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
7 years agoicnss: Add support for disabling vbatt notification
Yuanyuan Liu [Thu, 22 Sep 2016 23:34:43 +0000 (16:34 -0700)]
icnss: Add support for disabling vbatt notification

ICNSS monitors runtime phone power. When phone power
crosses either high or low threshold, ICNSS sends
vbatt notification to WLAN FW. FW then should vote for
different regulator power mode based on the notification.
Add support for disabling this feature and disable it
for now until WLAN FW support voting for different
regulator power mode.

CRs-Fixed: 1070294
Change-Id: I63241a198040122fcc4f26b728795e39822dbdc8
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agomsm: kgsl: Do not free gpuaddr range if unmap fails
Harshdeep Dhatt [Fri, 16 Sep 2016 17:02:37 +0000 (11:02 -0600)]
msm: kgsl: Do not free gpuaddr range if unmap fails

Currently, we free up the gpuaddr range whether unmap
succeeds or fails. If it fails and we free up the gpuaddr
range, there is a possibility that a later allocation will
overlap with this range. Mapping this new range leads to a
BUG_ON() in the iommu driver which thinks that we are
overwriting an existing mapping. To avoid this, we never
free the failing gpuaddr range, effectively removing it
from being re-used for any future mappings.

CRs-Fixed: 1072834
Change-Id: I57dfd6abe6c928dbe4df1bcc682d4093040ccb9f
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
7 years agomam: ipa: always add default flt rule at the end
Skylar Chang [Tue, 13 Sep 2016 18:21:12 +0000 (11:21 -0700)]
mam: ipa: always add default flt rule at the end

Change the logic in IPA driver to always add the default
catch-all filtering rule at the end.

Change-Id: Id442844226398a66813a7ec59c662afea0af2778
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoMerge "net: cnss: Add support to get fw files for QCA SDIO target"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:14 +0000 (11:21 -0700)]
Merge "net: cnss: Add support to get fw files for QCA SDIO target"

7 years agoMerge "icnss: update logs for QMI rejected messages"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:13 +0000 (11:21 -0700)]
Merge "icnss: update logs for QMI rejected messages"

7 years agoMerge "Migrate mpq demux driver from kernel 3.18 to 4.4"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:12 +0000 (11:21 -0700)]
Merge "Migrate mpq demux driver from kernel 3.18 to 4.4"

7 years agoMerge "Migrate demux driver from kernel 3.18 to 4.4"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:12 +0000 (11:21 -0700)]
Merge "Migrate demux driver from kernel 3.18 to 4.4"

7 years agoMerge "usb: dwc3: fix overriding core clock rate to default max"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:11 +0000 (11:21 -0700)]
Merge "usb: dwc3: fix overriding core clock rate to default max"

7 years agoMerge "msm: pcie: verify EP is accessible before conf restore"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:10 +0000 (11:21 -0700)]
Merge "msm: pcie: verify EP is accessible before conf restore"

7 years agoMerge "soc: qcom: pil: add PBL spare error status"
Linux Build Service Account [Thu, 29 Sep 2016 18:21:09 +0000 (11:21 -0700)]
Merge "soc: qcom: pil: add PBL spare error status"