Commit graph

568679 commits

Author SHA1 Message Date
Mahesh Sivasubramanian
b76b65b3e4 soc: qcom: rpm-smd: free NOACK messages upon receipt
For RPM messages that dont require to be waited on, when an ACK is
received, there are no drivers waiting on it. So the element never
gets freed resulting in a memory leak.

Change-Id: I5cce36750e0acfa66b3d23a770986bd1de20601c
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-03-23 21:16:11 -07:00
Mahesh Sivasubramanian
b780053bf3 soc: qcom: rpm-smd: Account for NOACK messages during system sleep
When a system is entering RPM assisted sleep, the NOACK messages are not
accounted in preventing such sleep modes as no driver is waiting on it. In
such scenarios, some active messages could still be in the Apps RX buffer
which reduces the number of outstanding sleep messages.

Fix by accounting for NOACK messages while flushing sleep set requests and
ensuring that they are read before sending any Sleep set requests.

Change-Id: I804cd923b88809b9d638756d934403914b5feff5
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-03-23 21:16:10 -07:00
Shilpa Mamidi
e64f8b1ef4 msm: cpp: Set GDRC register set after FW load
As per hardware specifications register read
cannot be done upon setting GDRC register
with HW_CONTROL. This change will set
GDRC register with HW_CONTROL after
firmware load to ensure that HW version
returns correct value

CRs-Fixed: 950485
Change-Id: Ia08a14f9f05cd410140cf01c26b41d3afba94513
Signed-off-by: Shilpa Mamidi <shilpam@codeaurora.org>
2016-03-23 21:16:10 -07:00
Taniya Das
7da0060b83 clk: msm: clock-pll: Add test_ctl_dbg flag to configure test bits
The PLL hardware configuration does not mandate to modify the test control
bits of the PLL, in those cases introduce a flag which when present will
skip configuration of the test control bits.

Change-Id: I70588398cffae193d56cb510faa19b1f96f05fea
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-03-23 21:16:09 -07:00
Taniya Das
db1150ac25 clk: qcom: clock-generic: Fix handoff for mux_div clock
The current implementation would check for the parent rate and decide the
handoff state of the clock, which is not true for mux clocks. With this
logic the function returns 'enabled' even when the clock downstream of this
clock is disabled. The handoff code will unnecessarily enable the current
parent of this clock.
If this function always returns 'disabled' and a clock downstream is on,
the clock handoff  code will bump up the ref count for this clock and its
current parent as necessary. The clocks without an actual HW gate can
always return handoff disabled.

Change-Id: I1f06842e2761b336b49a9390a556064de44f2e36
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-03-23 21:16:08 -07:00
Mohit Aggarwal
b554ca06c9 diag: dci: Rectify updation of peripheral status
Currently, whenever a peripheral is going down, diag
driver is not updating the peripheral status correctly
which leads to wrong result. This patch fixes this issue.

Change-Id: I59065cff4b1a1521d321422e427762bd2661be12
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2016-03-23 21:16:07 -07:00
Subbaraman Narayanamurthy
0199e9ba72 ARM: dts: msm: enable PON device for pmk8001
As per the hardware documentation, PON device of PMK8001 should
be configured when the system goes for a reset. Enable it so
that it can be configured in a similar way when the primary PON
device is configured during system reset.

CRs-Fixed: 953825
Change-Id: Ic10b003b4c2bd9b4c851b616795aacf308200244
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-03-23 21:16:06 -07:00
Rajesh Bondugula
075424c4c9 msm: camera: sensor: Add delay after actuator vreg enable
Add 2ms delay after enabling the VAF voltage regulator
for actuator. slave needs time for getting detected after
powerup.

Change-Id: I61e7a779825002c19dcd9d67ce68cbdf6dac2fda
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
2016-03-23 21:16:05 -07:00
Siddartha Mohanadoss
75003eedd6 thermal: tsens: Modify tsens_poll
Add support to log the last 10 instances when the
tsens monitoring threshold test gets to run and
handles completion interrupt or in polling mode.
In addition clear the status before enabling the
interrupt mask for threshold monitoring and reduce
the timed wait completion during polling mode.

Change-Id: I75a376b209f15d33cdfe3e43806db0f0cf45538e
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-03-23 21:16:05 -07:00
Carter Cooper
4318bd3cd6 msm: kgsl: Free allocated memory on early return
Make sure the allocated memory is freed before returning.

Change-Id: I6da7d1ffbd83ad206970e38ac99f9da211ffe86c
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
2016-03-23 21:16:04 -07:00
Liangwei Dong
d362e25309 Net: CNSS_SDIO: Add SSR support for QCA WIFI Devices
Register subsystem device for SSR recovery. Create
ramdump device for cnss fw dump collection. Implement
cnss SSR API to wlan sdio driver.

CRs-Fixed: 944010
Change-Id: If81fd84bb6080df73b12f235a2aa0eff6f717ce1
Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
2016-03-23 21:16:03 -07:00
Vinayak Menon
d7749d7f8e mm: memory: reduce fault_around_bytes
mapping multiple pages on a fault result in page_check_references
hitting more number of referenced inactive pages and this results
in increased pressure on reclaim. Reduce it to the lowest possible
value. Reduced kswapd wakeups are observed with this change.

Change-Id: I03c6cac9f28fa328abab7b40f5f01144084a147c
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-03-23 21:16:02 -07:00
Venkata Narendra Kumar Gutta
0e1466b439 ASoC: msm: qdsp6v2: Don't request to open irrelevant SMD channels
APSS is unable to open apr_voice_svc channel with destination processor
as MODEM. This is due to MODEM is no longer opening that channel, also
none of the clients on apps are using this channel. Hence, don't request
for the SMD channels when the destination is MODEM, but ensure that apr
clients should be able to receive SSR notifications from MODEM subsystem.

Change-Id: I566dd065ccd75956ab8fd594bb94e09b699258dd
Signed-off-by: Venkata Narendra Kumar Gutta <vgutta@codeaurora.org>
2016-03-23 21:16:01 -07:00
Komal Seelam
5a1a6cdec7 cnss: Remove unwanted pci resume call during system resume
msm_pcie_pm_control is an exported pcie API to request for
PCIe link suspend/resume for auto suspend feature. The
auto suspend feature now moved to use the runtime pm
framework which is handles the PCIe link suspend/resume as
part of runtime pm callbacks.

Hence removing the unwanted resume call in system resume
callback.

Change-Id: I0e56f228f819eb3a6fc6a0c732b4e5adc0cc82b0
CRs-Fixed: 952659
Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
2016-03-23 21:16:00 -07:00
Sidipotu Ashok
22a99a40bf Asoc: msm: add support for Media Format Converter
Audio drivers to configure ADSP MFC in cases where fractional
resampling is needed.

Change-Id: Ifc85ff788347ddd893f8858064f71a07fa1ddd9c
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
2016-03-23 21:15:59 -07:00
Yan He
f42f84ecb3 msm: ep_pcie: update PCIe PHY sequence to support L1ss
Update the PHY sequence of PCIe Endpoint mode to support L1ss.

Change-Id: Ib80a2fab167e232540240183387a441d246463a5
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:58 -07:00
Sarangdhar Joshi
8df2feee09 defconfig: arm64: Enable FP settings for msm8996
Enable FP(Floating Point) and SIMD settings required
during execution of AArch32 processes.

CRs-Fixed: 952837
Change-Id: I71c9294a59053aad2abfd359f9d3035cf493307a
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
2016-03-23 21:15:58 -07:00
Se Wang (Patrick) Oh
2dae58c4af arm64: fpsimd: Enable FP(floating-point) settings for msm8996
Enable FP and SIMD settings for the MSM8996 during the execution
of the AArch32 processes and disable these settings when you switch
to the AArch64 processes.

This commit also adds CONFIG_ENABLE_FP_SIMD_SETTINGS to support
FP and SIMD settings.

CRs-Fixed: 952837
Change-Id: If9537ca7390d8f08a6b48fb8865d1b349a93bcee
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
2016-03-23 21:15:57 -07:00
Laxminath Kasam
4a7037e0f8 ASoC: wcd-mbhc: initialize boolean flag anc_mic_found
As anc_mic_found is not initialized, it is taking
input as true and report as ANC Headphone results
in wrong accessory detection. Initialize the flag
to false that fixes the issue.

Change-Id: I1c9912e2ab396a8a0a31065b826d6f92a0603215
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-03-23 21:15:56 -07:00
Yue Ma
b7df8c422e cnss: Recover PCIe configuration space during normal WLAN recovery
During normal SSR there is a corner case that somehow WLAN driver fails to
read PCIe configuration space which can result corruption when it tries to
save it. Hence recover PCIe configuration space from shadow registers as
well in normal SSR. This is same as the recovery for real PCIe link down.

Change-Id: I2bae0f2e322829a9689d3a129145b54c079dccdf
CRs-fixed: 886245
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2016-03-23 21:15:55 -07:00
Phani Kumar Uppalapati
f6c9eb5139 msm: ultrasound: USF stays awake after each event
Give upper layers enough time to turn on screen before
falling back into SUSPEND.

Change-Id: I162f25dffdbbeb783d0bca673d6e6db8de412aac
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:15:54 -07:00
Veera Sundaram Sankaran
57d7fb0e5f Revert "ARM: dts: msm: remove sync-wait-broadcast from jdi panel"
This reverts commit c9b3e1ebbeb726a911ac6cf67f9a6386f7fb79ae ("ARM: dts:
msm: remove sync-wait-broadcast from jdi panel"). Sync-wait-broadcast
flag was removed for JDI dual dsi cmd mode panel as there were fps issues
when used along with partial updates which is currently fixed. The flag
is required for mode switch as sending the switch commands individually
during cmd-to-video switch causes flicker issues. Revert this change
to add the flag back as it is needed for mode switch.

Change-Id: I5b86d293aea7905b115621df1eab3e6f8aece966
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 21:15:53 -07:00
Yan He
132a036c4d msm: ep_pcie: add the support of MDM2AP GPIO
Add the support of MDM2AP GPIO so that MDM can notify AP about
updated status.

Change-Id: Ia5a020898d4d04dcd4fec6b3928aba380663ac56
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:53 -07:00
Yan He
73c35b8957 msm: ep_pcie: support both PARF based MSI and iATU based MSI
Add the support to generate both PCIe PARF based MSI generation
and iATU based address write MSI generation for unit test.

Change-Id: I8c5abf8dcae4ebf2c33fee182f6bc147979f74dd
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:52 -07:00
Sagar Dharia
9d9d7008b7 slim: msm: Return success for ch-remove type of messages during SSR
During SSR, all channels are removed and ports are disconnected since
slimbus HW is not functional. Return success to clients for such
calls so that client can mark channel/port state constistent with HW

Change-Id: I9b18f8e7ffe233090c9612d0811a7d36645d0329
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2016-03-23 21:15:51 -07:00
Bruce Levy
04d4a60c0c ARM: dts: msm: add HDMI support for msm8996 Fluid
Add appropriate entries to support HDMI
on msm8996 Fluid.

Change-Id: I2000744eb0cb3d6d5c402d17a05f55ff55c43707
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
2016-03-23 21:15:50 -07:00
Gilad Avidov
3741b8ab0d i2c-msm-v2: decrease runtime pm time to 250msec
Runtime-pm autosuspend delay is set to 1 second. This
long period is used to avoid thrashing due to long time
it takes for bus-pm voting. The period is reduced to a
quarter to optimize power. This number is tested for
trade-off between power and performance.

Change-Id: I973495e23852f1caefb981b1d8f26da5f09ca7bc
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
2016-03-23 21:15:49 -07:00
Bhalchandra Gajare
164661cbb4 ASoC: wcd9335: Fix internal clock enable during SSR
After subsystem restart is completed, driver will try to restore the
internal clock state to state before subsystem restart. In some cases,
it is possible that the internal clock state is not restored properly.
This causes the internal clock to be off when it is expected to be
turned on. Fix this issue by making sure the clock states are restored
correctly post subsystem restart.

CRs-fixed: 948899
Change-Id: I0084287b2d3b62c7498bae423952e64dd0d6e0f4
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:15:48 -07:00
Yan He
804f2dca61 msm: ep_pcie: enable BME IRQ
Configure PCIe debug register to enable IRQ for BME.

Change-Id: I497d86fcdbe862d770b9e7841dabd023cfe6d1f8
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:47 -07:00
Yan He
ec62d30ab9 msm: ep_pcie: set up execution environment before link up
Set up the execution environment before PCIe link training to
provide better adaptability to various hosts.

Change-Id: I72721d3b88a7e5b1a0a1f408da2228391559468e
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:47 -07:00
Yan He
161d538a82 msm: ep_pcie: update MSI address for PCIe clients
The PCIe clients will utilize the original MSI address instead of
mapped local address when active config is enabled. The change here
provides the original address to the clients.

Change-Id: I0d35fa9508d7c3ec2e97bd7d61754974e798bf8a
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:15:46 -07:00
Laxminath Kasam
513c9ffd22 ASoC: wsa881x-analog: fix shutdown of wsa during playback
Enable count of WSA startup/shutdown is not handled.
Add counter to handle the startup and shutdown properly.

Change-Id: I8c46fdd900c51d3e8d766b824f17996919779ba9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-03-23 21:15:45 -07:00
Yue Ma
3e86d4b389 ARM: dts: msm: Add WLAN antenna switch regulator for MSM8996
Explicitly vote for the regulator for WLAN antenna switch in order to
enable WLAN antenna sharing capacity in MSM8996.

Change-Id: Ibe06f33477f05ec860829f6a2de6fc23558bf4b8
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2016-03-23 21:15:44 -07:00
David Collins
497dc2c7f0 ARM: dts: msm: add PM8994 LDO 18 pin control regulator for msm8996
Add a PM8994 LDO 18 regulator device which can be used to manage
the HW_EN2 pin control enable configuration for LDO 18 at
runtime.  When this regulator is enabled, LDO 18 output is
enabled whenever HW_EN2 (i.e. PM8994 GPIO 11) is driven high.
When this regulator is disabled, the state of GPIO 11 is ignored.

This regulator can be used to support WLAN antenna sharing where
the WLAN chip is connected to GPIO 11 and drives it high whenever
RX or TX is active.

Also update the voltage constraint range to allow values from
2.7 V to 2.9 V.

Change-Id: I7afab38356e6619580539ed05b5130553491b100
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-03-23 21:15:43 -07:00
Xu Han
73313fe3cc msm: camera: CSI PHY setting update
CSI PHY setting is updated for maximum timing margin to
support high data rate up to 2.5Gbps/lane.

Change-Id: I165a5bc4467da83dda26deb56af16cbe64902515
Signed-off-by: Xu Han <hanxu@codeaurora.org>
2016-03-23 21:15:42 -07:00
Oleg Perelet
24dc1862e7 msm: kgsl: Account for throttled clock cycles in DCVS
Limits management can force clock throttling which results in incorrect
busy percentage calculation. We need to account for that in DCVS.

Change-Id: Iaa17a7f7d661ab9966597f7710374d5b2e00d514
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-03-23 21:15:42 -07:00
Vidyakumar Athota
df607d1693 ASoC: msm-lsm-client: free lsm client data in msm_lsm_close
Currently lsm client data is deallocated when q6lsm_open() fails
which can cause memory corruption if lsm client data is accessed
after freed. Fix this issue by deallocating the client data only
in msm_lsm_close().

Change-Id: If048c26a0ffd8a346a28622183cbf2ba1e7e5ff3
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-03-23 21:15:41 -07:00
Ravinder Konka
c912f24c79 netfilter: nf_conntrack_sip: Dynamically enable/disable SIP ALG
When SIP ALG is disabled, SIP packet should not be parsed by
SIP ALG module. Make change to Check nf_ct_disable_sip_alg flag
before parsing the SIP packet to bypass SIP ALG processing
when SIP ALG is disabled.

Change-Id: I863c93f418b694bc0e9101c31d2da12e761091a6
Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
2016-03-23 21:15:40 -07:00
Sandeep Panda
f04de711ae ARM: dts: msm: add dba property to adv panels
ADV7533 chip is used as DBA (Display Bridge Abstraction)
in MDSS driver. So adding the dba property to panel dt files.

Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Change-Id: Ideda14930a9025b105880021440fd84baf3343c3
2016-03-23 21:15:39 -07:00
Sandeep Panda
f610d9b8a8 ARM: dts: msm: remove backlight control type from adv panel
ADV7533 is a DSI to HDMI bridge chip, it does not need any backlight
control to be defined. So removing this property from panel dt files.

Change-Id: I3ca7290ce324d9385da8b13d9c141de0730d8535
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23 21:15:38 -07:00
Terence Ho
83c6fba394 ARM: dts: msm: Set camera config for 8996 mojave platform
Configure csi0 camera to use cci master 1 to reflect
hardware on 8996 mojave automotive plaftorm.

Change-Id: I38d2a8499e6f1916aad7dfbc36d03e36a8fbd47b
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
2016-03-23 21:15:37 -07:00
David Collins
da14db2558 ARM: dts: msm: disallow use of VDD_GFX CPR retention corner for msm8996
Disallow use of the 400 mV VDD_GFX CPR retention corner since it
has been found that 400 mV is not a sufficiently high retention
voltage across all parts.  Additionally, no power benefits have
been found when using the retention state during graphics
hardware operation.  Also, there is a minor performance penalty
when the retention corner is allowed as software reconfigures
the VDD_GFX supply to the retention voltage during GPU power
collapse and resume before transitioning to an active voltage.

Change-Id: I374d7620373d7fea17818009bec3d171a6072cdc
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-03-23 21:15:37 -07:00
Devesh Jhunjhunwala
467b64b1c5 clk: msm: Add support to control MEM_PERPIH_OFF bit of branch clock
Update cbcr_set_flags method to add support for controlling the
MEM_PERPIH_OFF bit for branch clocks.

Change-Id: I87451b02cb9000dc850fdfaa52a5a9f9fd2893a1
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-03-23 21:15:36 -07:00
Karthikeyan Ramasubramanian
243a901e21 soc: qcom: glink: Signal the waiter for rx_intent ack under error
During subsystem restart, if a transmit operation is waiting for a remote
receive intent acknowledgment, signal the waiter that the receive intent
request will not be acknowledged. Also check the transport and channel
state before waiting for the acknowledgment. This will prevent the
transmit operation from blocking indefinitely under error scenario.

CRs-Fixed: 952184
Change-Id: I29b8215841f7dcca52137f451665eaf339a6f78e
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-03-23 21:15:35 -07:00
Bhalchandra Gajare
d9ac385da9 ASoC: wcd_cpe_core: Perform irq cleanup once the bus is up
During subsystem restart, it is possible that while the underlying bus
is down, the irq driver has already performed its cleanup. In such case,
when CPE driver requests to cleanup its own irq, the irq driver attempts
to hold an lock that is already freed. Fix this issue by performing the
CPE driver irq cleanup after bus is up rather than when bus is down.

CRs-fixed: 948899
Change-Id: I2772e89bbdc855baa9fcf7a34a9c16f2f5c05c32
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:15:34 -07:00
Lorenzo Colitti
a24486df0d net: tcp: check for SOCK_DEAD again in tcp_nuke_addr
Liping Zhang spotted a race between tcp_nuke_addr and tcp_close
that can cause a crash. If a userspace process calls tcp_close
on a socket at the same time that tcp_nuke_addr is closing it,
and tcp_close wins the race to call lock_sock, it will call
sock_orphan before releasing the lock. sock_orphan sets the
SOCK_DEAD flag on the socket and proceeds to close it, eventually
calling inet_csk_destroy_sock. When tcp_nuke_addr gets the socket
lock, it calls tcp_done. But if tcp_done sees the SOCK_DEAD flag,
it calls inet_csk_destroy_sock as well, resulting in a double
free.

Fix this by checking for SOCK_DEAD again after lock_sock
succeeds. Eric had already pointed out that this could be a
problem in b/23663111, so there was already a TODO in the code
for this.

Change-Id: I0c87c3fd0598384d957b69734366bd4e2fd7e8d7
Git-commit: 61469ddc534f255c709349a1a611216ecd07e13d
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-03-23 21:15:33 -07:00
Lorenzo Colitti
21af70100c Fix NULL pointer dereference in tcp_nuke_addr.
tcp_nuke addr only grabs the bottom half socket lock, but not the
userspace socket lock. This allows a userspace program to call
close() while the socket is running, which causes a NULL pointer
dereference in inet_put_port.

Bug: 23663111
Bug: 24072792
Change-Id: Iecb63af68c2db4764c74785153d1c9054f76b94f
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Git-commit: 74d66ee756afcc3269e4c1341f793c52be629af9
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-03-23 21:15:32 -07:00
Peter Liu
f10ced0ba5 msm: camera: isp: fix error report id mask
Stream id mask need more than 8 bit,
thus increase bit width for error reporting.

Change-Id: I308a9d3df6024768b07ec49562f3241707566e2a
Signed-off-by: Peter Liu <pingchie@codeaurora.org>
2016-03-23 21:15:31 -07:00
vivek mehta
092ca0fe36 ASoC: msm: send gain info for all channels mask
- currently gain is added for only number of channels and clip
  channel count is send to dsp.
- but it is possible that channel mask that driver has is different
  than what dsp discovers after decoding the codec config data
- volume will not be applied to channels that differ between driver
  and dsp and device volume will not apply on these channels
- change is to control multi-channel volume using master gain

Change-Id: Icd8ca4e935d9095dd9ef8b65eff34629326fb563
Signed-off-by: vivek mehta <mvivek@codeaurora.org>
2016-03-23 21:15:30 -07:00
Ben Romberger
be8713afec ASoC: msm: qdsp6v2: Move asm list init before apr registration
Move list init for no wait que before apr registration.
If apr registration fails asm free client will free
the no wait que.

Change-Id: I4707dbf4771a1ec313898adb2284c06ef1fb5b3a
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-03-23 21:15:30 -07:00