The present code enables over current protection for
headphones during boot up. This causes leakage current
on the cdc boost rail when the device is in idle state.
The change enables the ocp before hph pa is enabled
and disables them after hph pa is disabled.
CRs-Fixed: 684587
Change-Id: I549dce1b76221f2cf822dac0c819a0a673a3a960
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
With new sound cards possible to connect over SLIMBUS,
add SLIMBUS as primary BE dai.
Change-Id: I6ebb3744a539f3409caad0565f7a80e6f531cc07
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Add multimedia9 frond end DAI in 8084 machine driver
to support in-call music feature on second subscription.
Change-Id: Id79d32b78465799ec9bcfc2567e1b0cd716fec73
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Propagate the error code from the compress framework for the timestamp
query. This error code will be used by the client to handle the
error case scenarios gracefully.
CRs-Fixed: 683288
Change-Id: I68ad14d52327dd0156531fe8d17ac54ba110fdf6
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
The headset removal during the voice call causes the master bias to be
turned down impairing the speaker functionality.
Fix by removing the disable sequence of the MASTER_BIAS
during the headset plugout.
CRs-Fixed: 684711
Change-Id: I8ba382549f7efb08bda9412d0c401a9e7d78915d
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
All the codec reads/writes go through slimbus satellite driver on APPS.
Slimbus satellite driver is already voting for slimbus clock before any
codec read or write so remove the vote from codec driver
Change-Id: I61f5b22d14f87668766d8d2f948a087066a73b11
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
If the calibration data is not present the open of the audio
client was failing.
Even if the calibration data is not present then also the playback
should continue.
Fix by returning success even if the calibration data is not
present.
Change-Id: I768b6541686c71b03d5aa140cc62a59dce291f89
CRs-Fixed: 683320
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
VI(voltage/current) feedback capture widget is part of speaker RX path.
When speaker is enabled, the VI feedback capture widget would be turned on.
During the shutdown of speaker RX path VI feedback codec path is
shutdown first and then the AFE port is closed. This will cause the
underflow errors during the shutdown seqeunce.
Change removes the vifeedback capture widget from playback path and
creates a new capture path. Userspace module will enable/disable the
VI feedback path via mixer control.
CRs-fixed: 591723
Change-Id: Ibceb5ff404e7cd7b73c490877e6b6e07faa06ab7
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Add Multimedia9 mixer controls to support in-call music
delivery on second subscription.
Change-Id: I8f7a43dc5e1cefcaf834c9c62ef56de5486dce88
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Ioremap for LPASS_CSR_GP_IO_MUX_MIC_CTL is called twice
without iounmap(). It causes memory leakage.
CRs-Fixed: 683280
Change-Id: I77b25c4d148c69e9387f8d813a43f86f452a07c8
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
MBHC driver moves pm wake lock state to awake before
scheduling work which detects the headset type.
But the work scheduled does not move the pm wake lock
state back to sleepable. This is causing the target
not to enter into tcxo.
CRs-Fixed: 681157
Change-Id: Ib8d94d5d50a8180365ba4fdaee7c4c587769cbe4
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
DPM timeout was happening due to the suspend call to the
codec driver being blocked.
This was due to a deadlock by acquiring the same mutex by the
suspend call and the work queue.
Fix by modifying the codeflow so that the deadlock is avoided.
CRs-Fixed: 681986
Change-Id: I96f11ee968a0e9bd267a80d2d11f1fa49985f5a9
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Improve debug logs by adding function names. This
change is required to fix rarely reproducible
customer issues.
Change-Id: Ic8b7f5b06bac1695904cecdc071cc13dc4b034ec
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
Improve debug logs by adding function names. This
change is required to fix rarely reproducible
customer issues.
Change-Id: I8f1e4f7c7b65bfdbbb7cf55595710985a7d3a5f7
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
When we insert headphone slowly, it may be detected as HEADSET
incorrectly.
So when we detect the HEADSET type, report it first and then schedule
the polling for it. If then button press interrupt is triggered
without corresponding button release paired, correct it to headphone.
CRs-Fixed: 678536
Change-Id: I82a043bf3ccccd956a79b9a96d393a9c0f46e8da
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Add Slimbus 3 TX port to the list of valid ports.
Otherwise opening of this port will fail.
CRs-fixed: 682168
Change-Id: I53bdde37afb4c5b0773eff86bfcc45541532e4e7
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
* commit 'v3.10.40': (203 commits)
Linux 3.10.40
ARC: !PREEMPT: Ensure Return to kernel mode is IRQ safe
drm: cirrus: add power management support
Input: synaptics - add min/max quirk for ThinkPad Edge E431
Input: synaptics - add min/max quirk for ThinkPad T431s, L440, L540, S1 Yoga and X1
lockd: ensure we tear down any live sockets when socket creation fails during lockd_up
dm thin: fix dangling bio in process_deferred_bios error path
dm transaction manager: fix corruption due to non-atomic transaction commit
Skip intel_crt_init for Dell XPS 8700
mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes()
mtd: nuc900_nand: NULL dereference in nuc900_nand_enable()
mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC
tgafb: fix data copying
gpio: mxs: Allow for recursive enable_irq_wake() call
rtlwifi: rtl8188ee: initialize packet_beacon
rtlwifi: rtl8192se: Fix regression due to commit 1bf4bbb
rtlwifi: rtl8192se: Fix too long disable of IRQs
rtlwifi: rtl8192cu: Fix too long disable of IRQs
rtlwifi: rtl8188ee: Fix too long disable of IRQs
rtlwifi: rtl8723ae: Fix too long disable of IRQs
...
Change-Id: If5388cf980cb123e35e1b29275ba288c89c5aa18
Signed-off-by: Ian Maund <imaund@codeaurora.org>
Update register write sequence for speaker and headset devices
during device tear down.
For PMIC 2.0 and QCRG 2_0_7 version has changes in the QCRG sequence
update the code to match the QCRG.
CRs-Fixed: 680225, 680246
Change-Id: I9ddfc478665d936080fca40b004cdd32bd8579b1
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Initialization values for over current protection
registers are not proper. Enable IRQ/Disable IRQ calls
should be equal which has been ensured.
CRs-Fixed: 672584
Change-Id: I93528d3e59cf1238b6ccaeebf9116e6641027009
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
The interface to set sample rate for BT is not available. Its
set at 8KHz hardcoded and hence need mixer control to allow
set from user space based on need.
Change-Id: I8a522c9d96cff5a0433fce0a5b549b5b7f90a5fe
CRs-Fixed: 681676
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Cache last known playback timestamp before resetting the
in use session in preparation for possible re-use of the
same session.
Change-Id: Id422f5654960818c159f9f07d5af3c497192bae2
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
When kernel is compiled for 64 bit and user space client is in
32 bit mode, then compat IOCTL path is taken instead of normal
IOCTL path. Add compat IOCTL support in voice platform driver.
This is needed to enable local call hold in DSDA use case.
Change-Id: I74e49f4986a4754a25189613828cf11283fe16e3
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
CRs-fixed: 673882
On triggering the SSR the audio was not heard on the speaker for the
pmic 2.0 hardware.
For the pmic 2.0 hardware the register set which gets initialized post SSR
didn't have the speaker DAC ctl register hence the whole chain in the DAPM
was not established leading to no audio.
Fix by updating the array of the default registers for the 2.0 hardware.
CRs-Fixed: 679797
Change-Id: If11c7e9e573d878710d59f2f2294a0a039eb8dcc
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
AUXPCM and MI2S gpios are used for Bluetooth and FM. Configure
AUXPCM and MI2S gpios using pin control method. Change enables
Bluetooth and FM usecases.
Change-Id: Iea24c060e01036f694ec60f16f12024e917131ea
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add routing control to route Voice2 on Secondary Aux PCM interface.
This change is needed for msm8994 target.
Change-Id: Ic73fc16ab285b3eaae26e24e0a3a040432b89e90
Signed-off-by: Narsinga Rao Chella <nrchella@codeaurora.org>
An index variable was used to access an array, which could cause
invalid memory accesses, especially when SLUB debug is enabled.
Change-Id: Ic0ba2a6f500a97ecdd8277fcbd313ecd6777934b
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
During the close of the AFE port the AIF1 PB widget will be closed
which access the core variable.
If the core is not initialized yet it will result in the kernel panic.
Fix by adding the check for the core structure to be initialized.
CRs-Fixed: 635790
Change-Id: Ic057e2eb75b25dbc55aa06cbce2b49aca0b1b25f
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
The current conditions in plug report function for extension cable
insertion are not enough. It will also let in some other scenario,
e.g., the plug type correction from headphone to headset.
Add more strict conditions to just let in electrical insertion
of extension cable and electrical removal detection.
Change-Id: I5bafc0fe12cabb64e559a3fbc23df6657461f3e2
CRs-Fixed: 674500
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Listen driver was not unlocking the cal mutex in alloc function.
After alloc function is called sendcal ioctl tries to acquire the lock
and gets blocked.In sendcal function physical address was being checked
instead of payload size.This change fixes listen application hang issue.
Change-Id: I57d6de4ea905c3c5becff075a55a20c791f6654f
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Change adds compat ioctl to listen driver for supporting 32 bit userspace
client when kernel is compiled for 64 bit.
Change-Id: Ie6a6fb1f2b6ea569e03b02bc520ef79b95c1009c
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
To detect special headset we need MICBIAS at 2.7V,
so ensure that the required regulator is on before
going for special headset plugtype determination.
CRs-fixed: 676589
Change-Id: Ib18db2b11f18fc88fb67d60717ca06eafb2fc277
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
The time to detect special headset is dependent on
type of headset and also on revision of the HW.So
instead of waiting for 2sec, wait in steps of
50msec, which reduces detection time for special headset.
CRs-Fixed: 676592
Change-Id: Ia98611cc1e54da9075ac30d09ed01fde4c36cacc
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
disable FSM when headset type is none. This fixes
headset is not detected anymore after several insertions.
CRs-Fixed: 660530
Change-Id: I45a930a70b8647f733d2624f31059fc10a37ba1c
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Alsa ASoC framework provides mute function to avoid click
and pop in pcm prepare function. Change adds op for
digital mute function in codec driver which will be called
by the asoc frame work when audio usecase is enabled.
CRs-Fixed: 662372
Change-Id: I1be21742e9027a15f77c6dd29c88582dbfdb3448
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Currently digital mute ops are called only for playback
use cases. Add support to call into codec digital mute
even for capture use cases.
CRs-Fixed: 662372
Change-Id: Idf5d1a823deb04d5ccb9139be745b6f936121a0c
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Propagate the error code to the upper layers to avoid the
unwanted sequence of the commands to DSP.
CRs-Fixed: 671241
Change-Id: I72b4700f01f6953c13e64878acf5bed882eb41a5
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
In case DSP returns error for the open call the proper error return
message should be propagated to the upper layers, or else we would
trigger unwanted commands to DSP and may result crash in DSP.
Based on the payload received from the dsp, propagate the error code to
the platform drivers.
CRs-Fixed: 671241
Change-Id: Ie30341878d3565d568373055ed062f912c5a6153
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
We should not trigger SLIM TX backend for SLIM_RX and I2S_RX
widgets as those are internal echo references.
Change-Id: I9a55ad72a999f1c1e08a046ed2956f648e3610de
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
Add primary MI2S routing information for usecase that needs
to make use of primary MI2S.
Change-Id: I49ba1151e66f235a4d2c9953ccd8ebfe8cdae0d4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
For the usecases where stream's post processing is needed in DSP,
the playback is offloaded at its native sample rate and channel
mode to DSP. Currently only one offload playback session is
supported on MSM8994. Add more offload or compressed front ends
in 8994 machine driver to support multiple playback sessions in
concurrent.
Change-Id: I0a77a8d03e2e86c9bed269707cc46924c3fdca3e
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Update MBHC driver to clean the debug messages
during special headset detection.
CRs-Fixed: 678057
Change-Id: I8cef6a3c228f211be003f76bef57ff9221263500
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
The HPHL 100K pulldown resistor is needed for detection of lineout
device in NO jack type.
Enable it by default as hardware codec team suggested.
Change-Id: Ib331abaa2573131cafa12872269a797ad549ef9f
CRs-Fixed: 678465
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
When LAB Stop is issued from user space, it is required that
copy function in driver should return immediately. This is
required to avoid delay in starting concurrency cases such as
voice call or recording while LAB is in progress. This change
checks for abort read in copy function of platform driver and
return immediately.
Crs-fixed: 664648
Change-Id: Ia2540f3ce524267f6bc659b9c463945026ad657f
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
Certain headsets have threshold on mic. Micbias voltage
of 2.8V is required to unlock the microphone in such
headsets. Increase the voltage to 2.8V and check if
the microphone voltage drops in headset range for
special headset.
CRs-Fixed: 662654
Change-Id: Ic53239a0755ca1bc7203c3431e2fa268e9f65737
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
Add polling to detect headset properly.
This fixes slow insertion of headset detected as Linout cable.
Fixes issues relating to slow insertion like headset fail to
detect after insertion and removal slowly 2-3 times.
CRs-Fixed: 653693
Change-Id: I80940ff0c903b78aec53a928081a1c6a1ea5276f
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
-Remove ANC_HEADSET and ANC_HEADPHONE for Dolby DAP
endpoint configuration since they are not used anymore.
Change-Id: Ia4236c1748be361d0e4c8a8fb2dcbdbb613e724d
Signed-off-by: Mingming Yin <mingming@codeaurora.org>
Add audio backend to hwdep interface. This is to provide ioctl
interface to communicate to routing driver.
CRs-Fixed: 661018
Change-Id: Id38cce4be2cebd89bbedc100553c733aa9e90739
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Different headphones have different impedance that results in
volume level difference on ears, as lower impedance headphone
will have higher volume with the same gain on PAs while the
headphone with higher impedance will have lower volume.
Add support for impedence detection for WCD9330 codec which
can be used to adjust the headphone volume levels.
Change-Id: I1f785ca040f83e45e2f999fd124ce2000e9cba44
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Add the check for the DSP return status code before using the size
to copy the data into the destination buffer. If the DSP returns
an error, the size should not be used, an error should be returned
instead.
CRs-fixed: 668331
Change-Id: Ia27de9f59fbd14ac5c829ba3f1d89a0175f7a7a1
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
default hw boost setting for analog_current is disabled.
Enable it to avoid PMIC heating problems.
update boost settings for speaker as per qcrg.
CRs-Fixed: 675258
Change-Id: I86722a8066877538ea62f7ddc57b1c6b07a23e62
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Implement AFE get and set parameter interfaces. These new
interfaces are used to support AFE real-time calibration
through QACT tool as part of AANC tuning process.
Change-Id: Ieba57a9a79fae3906fb3cb7f59b00d221ad07738
Signed-off-by: Jay Wang <jaywang@codeaurora.org>
When kernel is compiled for 64 bit and userspace client is in 32 bit
mode compat ioctl path will be taken.If platform driver supports compat
mode asoc framework should call compat function pointers.
Change adds support in asoc framework to support compat mode.
Change-Id: I4929bc89c2ad467cdc83f5a00fe9d38e425c3ca2
Signed-off-by: Gopikrishnaiah Anand <agopik@codeaurora.org>
Update machine driver with different functions for SEC
MI2S interface BE, which will cleanly enable the params
required for the respective BE.
CRs-Fixed: 673156
Change-Id: Iac61cd96314cb76e05d607b7a50370ac705bf5af
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
The ASoC machine driver provides callback to codec driver to setup
certain settings that are specific to the machine. It is possible that
machine driver does not provide this callback when there are no machine
specific settings. In such cases the callback will be NULL. Make sure to
not access the callback if it is NULL to avoid null pointer dereference.
CRs-fixed: 673401
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Change-Id: If952e99310c9b633429fe0c803336a393ef0085c
The ASoC machine driver provides callback to codec driver to setup
certain settings that are specific to the machine. It is possible that
machine driver does not provide this callback when there are no machine
specific settings. In such cases the callback will be NULL. Make sure to
not access the callback if it is NULL to avoid null pointer dereference.
Change-Id: Ibd9aeb1157ac3b44525ba5ce2562c02981a88f51
CRs-fixed: 673401
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
pcm lib of alsa framework doesn't expect any userspace structures being
passed for a ioctl command.If compress driver recieves a ioctl not
supported by it return error instead of calling pcm library.
CRs-fixed: 664419
Change-Id: I2f46e087f95ce7edeac1a9b82f76ed2fb6f2d195
Signed-off-by: Gopikrishnaiah Anand <agopik@codeaurora.org>
Update the RCO enable and calibration sequence for wcd9330 to achieve
the best drift performance.
Change-Id: Id4d1e27462b811aa94f459b5ff48bc19f55f00f3
CRs-fixed: 665318
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Enable qfuse sensing for wcd9330 so that the qfuse data
can be correctly read back by other application afterward.
Change-Id: I6f50be93ae4bbd6b41af937842de594306006996
CRs-fixed: 665318
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Add Qfuse sensing function for wcd9330 so that qfuse data
registers will get updated with correct values which will
then be used for other codec functionalities.
Change-Id: I69c9bb00f0fc094e5d49d7c970ebf090e1ba2352
CRs-fixed: 665318
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Output channel gain is product of per channel gain and master gain.
Hence if only per channel gain is set and master gain is set to 0
then no audio is heard at the output.
Ensure that if we change per channel gain then we set master gain
to unity and vice versa. This enables only one gain to be effective.
Change-Id: I4cc2990efbb3e86edcc3d4328761cb64ed8fa775
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
Repeat mode is not working in pcm offload path. When two streams
are used in a single session pcm format block should be sent
specific to each stream. Data sent on stream 2 is ignored by DSP
because pcm format block is always sent on stream 1. Fix is to
update pcm media format block to use correct stream id before
data is sent to DSP.
CRs-Fixed: 673510
Change-Id: Id9369f9927fbd301ed6020ea9e35942b54305610
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Locks in voice driver is acquired in a specific order
i.e common_lock first and then voice_data lock. However,
in voc_disable_cvp(), voice_data lock is acquired and
common_lock in voc_set_ext_ec_ref() which will lead to
a deadlock if called in different thread contexts.
CRs-fixed: 669106
Change-Id: I73fd9960198190f9b4a7f1eb2aa29bd46749d14b
Signed-off-by: Vicky Sehrawat <vickys@codeaurora.org>
During fast switching of audio playback, we need to wait
for 5ms for the LINE PAs to get settled down before enabling
them again for playback. Same delay is also required after PA
is enabled. Add the required delays after LINE PAs are enabled
or disabled.
CRs-Fixed: 668339
Change-Id: Ie51a88c7a3359660aa416bb23131ca4ac0c49b7a
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
The present ear boost enable sequence enables the boost clock
and the disable sequence disables the bypass before disabling
the boost module. The change does not enable the boost clock
and the boost module is disabled before the bypass is disabled.
CRs-Fixed: 673800
Change-Id: Id347cc816b4985220bb76b6f6baea88ade343302
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Power down the static supplies during the suspend and power the
supplies back in the resume. This approach reduces the power
numbers during the suspend use cases.
CRs-Fixed: 671163
Change-Id: Ib03a460b1517f66e992b6655f9b4d29a8df63a7c
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Add suspend and resume call backs to the codec driver to make
sure the clocks are disabled.
CRs-Fixed: 662773
Change-Id: I7e68721b7249e948d5660bac0da8c97131fefd3c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
8916 ULT audio core can support 9.6 and 12.28 MHz master frequency
and the frequencies can be used differently when internal codec only
or internal codec with external PA.
Add mclk frequency property in dtsi to inform machine driver to
configure master clock based on the value sent from the dtsi.
CRs-Fixed: 662773
Change-Id: I30880e13593477fe7f0c1211907ba6f3a1e2cd36
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Improve debug logs by adding function names. This
change is required to fix rarely reproducible
customer issues.
Change-Id: Ifb94a235cbe0f9df9ad40c82d3a38862dbd6b6cc
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
MCLK is tied with the audio session, and if there is a device
switch during the sessoin mclk should not be disabled.
Update machine driver MCLK event to handle this scenario.
CRs-Fixed: 664913
Change-Id: I9155a63cd7c31160215b23a8112b941f845967ac
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
8916 target supports external PA over secondary interface.
Add a property to inform machine driver about the external PA
present on the target add the pin control settings for
secondary MI2S interface to route to external world.
CRs-Fixed: 660843
Change-Id: Ic8b8699d7c018d8735080255e43a88da63bb98ed
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update PCM platform driver to handle the reset events during
SSR and also unblock the write wait according to
the new SSR design.
CRs-Fixed: 661491
Change-Id: Id0b4950ffc0eb130dbfdce36375629a683752044
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update codec driver to reduce the time for wait to check Q6 core
is ready.
Disable all sound end devices(headset, earpiece and speaker)
during codec down and codec up to reduce the noise output
during Sub System Restart time frame.
CRs-Fixed: 661491
Change-Id: I06f7124dda56bf867df32c3a03a63e1ee0e2bd94
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>