Commit graph

17772 commits

Author SHA1 Message Date
Linux Build Service Account
1ec4c7a886 Merge "ASoC: compress: propagate the error code from the compress framework" 2014-06-25 12:51:23 -07:00
Linux Build Service Account
73c98ac919 Merge "ASoC: apq8084: add support for in-call music delivery on second sub" 2014-06-25 12:51:10 -07:00
Aravind Kumar
196d10d9df ASoC: msm8x16-wcd: enable ocp when hph pa is enabled
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>
2014-06-25 15:56:27 +05:30
Laxminath Kasam
84abfaf362 ASoC: msm8939: add support for external codec over slimbus
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>
2014-06-25 14:56:45 +05:30
Linux Build Service Account
5df047d242 Merge "ASoC: msm: add support for in-call music delivery on second sub" 2014-06-24 17:25:46 -07:00
Vidyakumar Athota
b220b60cd1 ASoC: apq8084: add support for in-call music delivery on second sub
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>
2014-06-24 15:17:41 -07:00
Linux Build Service Account
16f29b7fb5 Merge "ASoC: wcd9306: remove runtime PM voting" 2014-06-24 14:27:20 -07:00
Linux Build Service Account
a13d158409 Merge "ASoC: q6asm: fix the error during playback in ffbm" 2014-06-24 14:27:18 -07:00
Aviral Gupta
d27ea798de ASoC: compress: propagate the error code from the compress framework
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>
2014-06-24 22:02:56 +05:30
Linux Build Service Account
430983de08 Merge "ASoC: msm8x16: fix the target crash due to dpm timeout" 2014-06-24 06:45:35 -07:00
Aviral Gupta
36b3581809 ASoC: mbhc: fix the no audio issue in the voice call
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>
2014-06-24 17:58:38 +05:30
Laxminath Kasam
f01c35c55c ASoC: wcd9306: remove runtime PM voting
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>
2014-06-24 14:44:42 +05:30
Aviral Gupta
be9938de22 ASoC: q6asm: fix the error during playback in ffbm
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>
2014-06-24 12:14:31 +05:30
Linux Build Service Account
2bde62163a Merge "ASoC: wcd9330: Fix for VI feedback underflow errors" 2014-06-23 20:16:42 -07:00
Linux Build Service Account
2a0c3afb04 Merge "ASoC: msm8x16: Fix memory leakage in vmalloc address space" 2014-06-23 20:16:26 -07:00
Anish Kumar
f59bd78751 ASoC: msm: qdsp6v2: check dai before dereference
Check dai pointer before dereference.

Change-Id: I25d0986be1ce98d74b76d6aee73402500174f723
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-06-23 16:17:27 -07:00
Anish Kumar
66a4d7a533 ASoC: msm: qdsp6v2: check dai before dereference
Check dai pointer before dereference.

Change-Id: I47ba4154483aba962ac80ec45f51db8d0177cf5d
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-06-23 15:55:21 -07:00
Gopikrishnaiah Anandan
ef225a42f8 ASoC: wcd9330: Fix for VI feedback underflow errors
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>
2014-06-23 11:25:16 -07:00
Vidyakumar Athota
25f6426815 ASoC: msm: add support for in-call music delivery on second sub
Add Multimedia9 mixer controls to support in-call music
delivery on second subscription.

Change-Id: I8f7a43dc5e1cefcaf834c9c62ef56de5486dce88
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2014-06-23 11:19:31 -07:00
Linux Build Service Account
07d6e746a9 Merge "ASoC: msm8x16-wcd: initialise ocp registers correctly" 2014-06-23 08:59:26 -07:00
Linux Build Service Account
3a1d2bde49 Merge "ASoC: wcd: update mbhc driver to release pm wake lock" 2014-06-21 23:57:51 -07:00
Asish Bhattacharya
d543cfb99d ASoC: msm8x16: Fix memory leakage in vmalloc address space
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>
2014-06-22 10:21:08 +05:30
Linux Build Service Account
5068a3d6a4 Merge "ASoC: msm: qdsp6v2: Add SLIMBUS 3 TX port as valid port" 2014-06-21 01:59:59 -07:00
Santosh Mardi
ee8ba82e1e ASoC: wcd: update mbhc driver to release pm wake lock
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>
2014-06-21 12:30:37 +05:30
Aviral Gupta
1d1b1f5e85 ASoC: msm8x16: fix the target crash due to dpm timeout
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>
2014-06-20 19:58:10 +05:30
Linux Build Service Account
ff37a4d4b5 Merge "ASoC: wcd: Add polling for proper headphone detection" 2014-06-20 05:20:31 -07:00
Linux Build Service Account
89f07cdc04 Merge "ASoC: msm8994: Add pinctrl changes for BT and FM" 2014-06-20 05:20:18 -07:00
Linux Build Service Account
67a383249d Merge "Merge v3.10.40 and related reverts into msm-3.10" 2014-06-20 00:09:33 -07:00
Linux Build Service Account
8a92473c81 Merge "ASoC: msm: qdsp6v2: add compat mode support for voice driver" 2014-06-20 00:09:17 -07:00
Linux Build Service Account
302fe11e9f Merge "ASoC: msm8x16: add mixer control to set BT sample rate" 2014-06-19 17:51:27 -07:00
Linux Build Service Account
a2cefc9cd4 Merge "ASoC: msm8x16-wcd: fix the no audio on speaker post SSR" 2014-06-19 15:00:41 -07:00
Linux Build Service Account
8b5cd905ec Merge "ASoC: wcd9306: fix the NULL pointer dereference in the tapan codec" 2014-06-19 15:00:23 -07:00
Linux Build Service Account
06edf9c7e1 Merge "ASoC: msm: qdsp6v2: add routing for voice2 on secondary aux pcm" 2014-06-19 12:11:04 -07:00
Anish Kumar
1fe8a3a7e6 ASoC: msm: qdsp6v2: Add support to improve debug logging
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>
2014-06-19 11:13:53 -07:00
Anish Kumar
6a5efe79cc ASoC: msm: qdsp6v2: Add support to improve debug logging
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>
2014-06-19 10:47:38 -07:00
Linux Build Service Account
fda1f1650b Merge "ASoC: msm8x16-wcd: update power down sequence" 2014-06-19 06:13:08 -07:00
Walter Yang
fc600205ea ASoC: wcd: Add polling for proper headphone detection
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>
2014-06-19 10:32:42 +08:00
Damir Didjusto
0bb9c7f976 ASoC: msm: qdsp6v2: Add SLIMBUS 3 TX port as valid port
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>
2014-06-18 16:59:44 -07:00
Ian Maund
491fb5c232 Merge upstream tag 'v3.10.40' into msm-3.10
* 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>
2014-06-18 13:10:54 -07:00
Santosh Mardi
1804b5b164 ASoC: msm8x16-wcd: update power down sequence
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>
2014-06-18 22:46:21 +05:30
Aviral Gupta
d14cb1188c ASoC: msm8x16-wcd: initialise ocp registers correctly
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>
2014-06-18 22:45:56 +05:30
Asish Bhattacharya
856308b2f9 ASoC: msm8x16: add mixer control to set BT sample rate
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>
2014-06-18 16:46:31 +05:30
Haynes Mathew George
7aa6d77653 ASoC: compr: timestamp fix for non-gapless mode
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>
2014-06-18 15:38:19 +05:30
Narsinga Rao Chella
23eef3344d ASoC: msm: qdsp6v2: add compat mode support for voice driver
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
2014-06-17 10:36:17 -07:00
Aviral Gupta
cf45766834 ASoC: msm8x16-wcd: fix the no audio on speaker post SSR
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>
2014-06-17 17:53:12 +05:30
Linux Build Service Account
d6207ed1ac Merge "ASoC: msm: fix a use after free problem in audio_calibration" 2014-06-17 04:45:27 -07:00
Linux Build Service Account
02a2c6ee94 Merge "ASoC: wcd: ensure regulator is on during plug detection" 2014-06-16 23:37:07 -07:00
Sudheer Papothi
747bfe26be ASoC: msm8994: Add pinctrl changes for BT and FM
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>
2014-06-17 07:07:45 +05:30
Linux Build Service Account
1e5a07473d Merge "ASoC: msm: qdsp6v2: Add Primary MI2S support" 2014-06-16 18:06:53 -07:00
Linux Build Service Account
39ec2349fb Merge "ASoC: msm: qdsp6v2: fix for mutex deadlock in listen driver" 2014-06-16 18:06:25 -07:00
Linux Build Service Account
549b5a98eb Merge "ASoC: core: Add compat ioctl support for listen driver" 2014-06-16 18:06:23 -07:00
Linux Build Service Account
15c844c7d8 Merge "ASoC: wcd9330: Enable Speaker Smart Boost gating" 2014-06-16 18:06:17 -07:00
Linux Build Service Account
f1b111328b Merge "ASoC: msm: qdsp6v2: Add check for DSP status before using the size" 2014-06-16 18:06:06 -07:00
Narsinga Rao Chella
2cdc303843 ASoC: msm: qdsp6v2: add routing for voice2 on secondary aux pcm
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>
2014-06-16 17:37:03 -07:00
Gopikrishnaiah Anandan
06d949e091 ASoC: msm: 8994: enable hdmi audio feature
8994 target supports HDMI audio playback. This change enables the HDMI
audio playback feature for 8994.

Change-Id: I7a964ec3644108fccef9dcad0e0c96377451aecb
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2014-06-16 17:09:43 -07:00
Jeremy Gebben
5594c3368b ASoC: msm: fix a use after free problem in audio_calibration
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>
2014-06-16 11:23:13 -06:00
Linux Build Service Account
c8100225c1 Merge "ASoC: msm8x16-wcd: add more strict conditions for extension cable" 2014-06-16 03:04:24 -07:00
Aviral Gupta
1602c69b5c ASoC: wcd9306: fix the NULL pointer dereference in the tapan codec
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>
2014-06-16 14:18:11 +05:30
Walter Yang
051f335192 ASoC: msm8x16-wcd: add more strict conditions for extension cable
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>
2014-06-16 14:15:47 +08:00
Linux Build Service Account
7727171a8d Merge "ASoC: msm: Add front ends to support concurrent offload playbacks" 2014-06-15 16:34:07 -07:00
Linux Build Service Account
5de210ff31 Merge "ASoC: wcd: reduce detection time for special headset" 2014-06-14 23:03:48 -07:00
Linux Build Service Account
d1114e6f3a Merge "ASoC: wcd: disable FSM when headset type is none" 2014-06-14 23:03:47 -07:00
Linux Build Service Account
99d9362caa Merge "ASoC: msm: remove ANC devices for Dolby configuration" 2014-06-14 20:26:38 -07:00
Linux Build Service Account
bc287cc52f Merge "ASoC: msm: qdsp6v2: SLIM_RX and I2S_RX is internal echo reference" 2014-06-14 20:26:35 -07:00
Gopikrishnaiah Anandan
4e51850f13 ASoC: msm: qdsp6v2: fix for mutex deadlock in listen driver
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>
2014-06-14 19:03:46 -07:00
Gopikrishnaiah Anandan
72402ba84d ASoC: core: Add compat ioctl support for listen driver
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>
2014-06-14 18:48:57 -07:00
Linux Build Service Account
fe3e1084a8 Merge "ASoC: msm: qdsp6v2: Return error for invalid ioctl's" 2014-06-14 12:35:49 -07:00
Linux Build Service Account
a77d12381f Merge "ASoC: msm: propagate the error code from the compr driver" 2014-06-14 12:35:21 -07:00
Linux Build Service Account
7e98f61955 Merge "ASoC: q6asm: add the error handling for the interfaces from asm driver" 2014-06-14 12:35:20 -07:00
Linux Build Service Account
5532d89358 Merge "ASoC: msm8x16-wcd: add support for digital mute ops" 2014-06-14 12:34:27 -07:00
Linux Build Service Account
922473f266 Merge "ASoC: core: call digital mute ops for capture use case" 2014-06-14 12:34:26 -07:00
Yeleswarapu Nagaradhesh
91956c1a86 ASoC: wcd: ensure regulator is on during plug detection
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>
2014-06-13 23:47:38 +05:30
Yeleswarapu Nagaradhesh
847cc4f1db ASoC: wcd: reduce detection time for special headset
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>
2014-06-13 23:47:07 +05:30
Linux Build Service Account
b5a909ab56 Merge "ASoC: msm: Add support for AFE RTAC" 2014-06-13 11:15:14 -07:00
Linux Build Service Account
b1e18847fb Merge "ASoC: msm: qdsp6v2: Fix for deadlock issue" 2014-06-13 11:15:10 -07:00
Linux Build Service Account
81a7175e35 Merge "ASoC: pcm: Add support for compat mode" 2014-06-13 08:34:57 -07:00
Meng Wang
4287b0767c ASoC: wcd: disable FSM when headset type is none
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>
2014-06-13 19:55:54 +05:30
Aravind Kumar
a7fad6f366 ASoC: msm8x16-wcd: add support for digital mute ops
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>
2014-06-13 17:12:27 +05:30
Phani Kumar Uppalapati
3480ca7292 ASoC: core: call digital mute ops for capture use case
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>
2014-06-13 17:12:26 +05:30
Aviral Gupta
6ebaae56f8 ASoC: msm: propagate the error code from the compr driver
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>
2014-06-13 16:55:32 +05:30
Aviral Gupta
9172bc89e5 ASoC: q6asm: add the error handling for the interfaces from asm driver
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>
2014-06-13 15:11:36 +05:30
Anish Kumar
52bcdb7be4 ASoC: msm: qdsp6v2: SLIM_RX and I2S_RX is internal echo reference
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>
2014-06-12 22:55:49 -07:00
Sudheer Papothi
a4bee9a7cb ASoC: msm: qdsp6v2: Add Primary MI2S support
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>
2014-06-13 05:37:53 +05:30
Linux Build Service Account
25fffbfed8 Merge "ASoC: wcd: clean the debug messages." 2014-06-12 10:46:05 -07:00
Subhash Chandra Bose Naripeddy
a0f463cb39 ASoC: msm: Add front ends to support concurrent offload playbacks
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>
2014-06-11 23:20:32 -07:00
Linux Build Service Account
80579f9236 Merge "ASoC: wcd: Enable the HPHL 100K pulldown resistor for any jack type" 2014-06-11 10:56:43 -07:00
Santosh Mardi
884fa465b0 ASoC: wcd: clean the debug messages.
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>
2014-06-11 11:52:03 +05:30
Walter Yang
718c3de29d ASoC: wcd: Enable the HPHL 100K pulldown resistor for any jack type
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>
2014-06-11 10:50:08 +08:00
Linux Build Service Account
e3771b6261 Merge "ASoC: msm: qdsp6v2: Add support to improve debug logging" 2014-06-10 15:38:42 -07:00
Linux Build Service Account
4c5105507c Merge "ASoC: msm: Check for read abort and return from copy function" 2014-06-10 01:46:51 -07:00
Linux Build Service Account
f146ecd8fe Merge "ASoC: wcd9xxx: Update RCO enable and calibration sequence for wcd9330" 2014-06-09 18:24:51 -07:00
Linux Build Service Account
6d98a21119 Merge "ASoC: wcd9330: add support for impedance detection" 2014-06-09 18:24:49 -07:00
Linux Build Service Account
193e52697a Merge "ASoC: apq8084: Enable qfuse sensing for wcd9330" 2014-06-09 18:24:48 -07:00
Linux Build Service Account
8c6cdaafd8 Merge "ASoC: wcd9330: Add qfuse sensing function for wcd9330" 2014-06-09 18:24:47 -07:00
Venkat Sudhir
e8da789647 ASoC: msm: Check for read abort and return from copy function
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>
2014-06-09 12:08:05 -07:00
Simmi Pateriya
7399400a16 ASoC: wcd: Add support to detect special headset
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>
2014-06-09 19:24:54 +05:30
Yeleswarapu Nagaradhesh
797519ff5b ASoC: wcd: Add polling for proper headset detection
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>
2014-06-09 19:23:34 +05:30
Linux Build Service Account
4ea389357e Merge "ASoC: msm8x16-wcd: update qcrg changes for boost fixes" 2014-06-08 02:53:36 -07:00
Linux Build Service Account
ad71ac1837 Merge "soc: Add audio backend to hwdep interface." 2014-06-07 02:35:42 -07:00
Mingming Yin
69b052b2a1 ASoC: msm: remove ANC devices for Dolby configuration
-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>
2014-06-06 13:45:36 -07:00
Krishnankutty Kolathappilly
e138a967a1 soc: Add audio backend to hwdep interface.
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>
2014-06-06 12:31:32 -07:00
Sudheer Papothi
4527e234d2 ASoC: msm: Add codec clock on msm8994
Codec clock is required to enable wcd codec. Change enables
codec clock on msm8994.

Change-Id: I5b77449919d8d8710118be08c46463078c3a155c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2014-06-06 11:42:57 -07:00
Banajit Goswami
19730f21b3 ASoC: wcd9330: add support for impedance detection
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>
2014-06-06 11:23:08 -07:00
Linux Build Service Account
6e244c9fbf Merge "ASoC: msm8x16: update external PA on secondary MI2S" 2014-06-06 06:07:30 -07:00
Linux Build Service Account
7945b60dde Merge "ASoC: msm: Add LAB support in platform driver" 2014-06-06 06:05:58 -07:00
Linux Build Service Account
d9e14b96ca Merge "ASoC: wcd_cpe_core: Add LAB IPC commands for listen" 2014-06-06 06:05:56 -07:00
Linux Build Service Account
2adf163a4f Merge "ASoC: msm: Configure correct gain on set Volume command" 2014-06-05 23:58:51 -07:00
Linux Build Service Account
dc2c186954 Merge "ASoC: msm: qdsp6v2: Add support to improve debug logging" 2014-06-05 23:58:37 -07:00
Linux Build Service Account
58c7f8c997 Merge "ASoC: msm: Fix for USB device switch" 2014-06-05 16:38:46 -07:00
Linux Build Service Account
f8e292b62b Merge "ASoC: msm: qdsp6v2: Fix event status issue for Sound Model V1" 2014-06-05 16:38:38 -07:00
Linux Build Service Account
6714eff272 Merge "ASoC: wcd9330: Add HD2 tuning coefficients for HPH path" 2014-06-05 16:38:30 -07:00
Damir Didjusto
2ff3e63078 ASoC: msm: qdsp6v2: Add check for DSP status before using the size
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>
2014-06-05 14:05:02 -07:00
Linux Build Service Account
8a70d14df7 Merge "ASoC: wcd9330: Fix null pointer access for event callback" 2014-06-05 08:37:43 -07:00
Linux Build Service Account
29f4d9c857 Merge "ASoC: wcd9320: Fix null pointer access for event callback" 2014-06-05 08:37:42 -07:00
Linux Build Service Account
76bf5ee8d6 Merge "ASoC: wcd9xxx: Enable headset in high performance" 2014-06-05 08:37:30 -07:00
Linux Build Service Account
f0ae83dd03 Merge "ASoC: wcd9320: Wait for enough time for Line PAs to get settled" 2014-06-05 08:37:28 -07:00
Linux Build Service Account
90a93897d8 Merge "ASoC: msm: qdsp6v2: Update pcm media format block to use correct stream id" 2014-06-05 08:36:04 -07:00
Laxminath Kasam
17f6011b63 ASoC: msm8x16-wcd: update qcrg changes for boost fixes
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>
2014-06-04 22:41:49 -07:00
Jay Wang
f9eaeb3a96 ASoC: msm: Add support for AFE RTAC
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>
2014-06-04 17:01:31 -07:00
Gopikrishnaiah Anand
9c4e65fcf6 ASoC: pcm: Add support for compat mode
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>
2014-06-04 15:15:04 -07:00
Linux Build Service Account
fbe7e2914f Merge "ASoC: msm: qdsp6v2: Add support to improve debug logging" 2014-06-04 07:07:49 -07:00
Linux Build Service Account
d907e5eb80 Merge "ASoC: msm: qdsp6v2: Add FLAC in compress offload path" 2014-06-04 07:07:37 -07:00
Linux Build Service Account
1be968617f Merge "ASoC: msm8x16-wcd: add support for pmic rev 2.0" 2014-06-04 07:06:53 -07:00
Linux Build Service Account
8aa75cc2fc Merge "ASoC: msm8x16-wcd: fix headset tx record issue" 2014-06-04 07:06:46 -07:00
Aravind Kumar
b0bd87fb92 ASoC: msm8x16: update external PA on secondary MI2S
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>
2014-06-04 18:05:02 +05:30
Bhalchandra Gajare
d36e796cac ASoC: wcd9330: Fix null pointer access for event callback
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
2014-06-03 18:40:16 -07:00
Bhalchandra Gajare
a165e62dd2 ASoC: wcd9320: Fix null pointer access for event callback
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>
2014-06-03 18:20:23 -07:00
Gopikrishnaiah Anand
c9c67fe553 ASoC: msm: qdsp6v2: Return error for invalid ioctl's
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>
2014-06-03 14:32:44 -07:00
Kuirong Wang
157e06483d ASoC: wcd9xxx: Update RCO enable and calibration sequence for wcd9330
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>
2014-06-02 23:38:03 -07:00
Kuirong Wang
d1417307b4 ASoC: apq8084: Enable qfuse sensing for wcd9330
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>
2014-06-02 23:32:58 -07:00
Kuirong Wang
f3cf965fa8 ASoC: wcd9330: Add qfuse sensing function for wcd9330
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>
2014-06-02 23:11:34 -07:00
Ashish Jain
2d7c0096e9 ASoC: msm: Configure correct gain on set Volume command
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>
2014-06-03 11:02:47 +05:30
Krishnankutty Kolathappilly
ef705c60aa ASoC: msm: qdsp6v2: Update pcm media format block to use correct stream id
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>
2014-06-02 17:04:20 -07:00
Vicky Sehrawat
7ec65dcd72 ASoC: msm: qdsp6v2: Fix for deadlock issue
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>
2014-06-02 16:29:36 -07:00
Phani Kumar Uppalapati
6bd5c83d9e ASoC: wcd9320: Wait for enough time for Line PAs to get settled
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>
2014-06-02 12:19:13 -07:00
Aravind Kumar
22d430bafb ASoC: msm8x16-wcd: change ear boost enable/disable sequence
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>
2014-06-02 00:52:31 -07:00
Linux Build Service Account
0d0c1f1dcb Merge "ASoC: apq8084: add callback notifier for Liquid device" 2014-06-01 18:09:16 -07:00
Aviral Gupta
f2af49a224 ASoC: msm8x16-wcd: fix the extra power used during the suspend case
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>
2014-06-01 13:01:45 +05:30
Santosh Mardi
2ecd9b0987 ASoC: msm8x16-wcd: add suspend and resume callback to codec driver
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>
2014-06-01 13:01:27 +05:30
Santosh Mardi
a345317a94 ASoC: msm8x16: add master clock frequency property
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>
2014-06-01 12:50:10 +05:30
Linux Build Service Account
143be41361 Merge "ASoC: msm8x16: do not disable mclk during device switch." 2014-05-31 19:44:40 -07:00
Linux Build Service Account
a4067bbda6 Merge "ARM: msm: dts: add external PA property to sound node." 2014-05-31 19:44:40 -07:00
Linux Build Service Account
142ec5a4d7 Merge "ASoC: msm: qdsp6v2: update platform driver for new SSR design." 2014-05-31 19:44:39 -07:00
Linux Build Service Account
c555052f11 Merge "ASoC: msm8x16-wcd: update for new Sub System Restart design." 2014-05-31 19:44:38 -07:00
Linux Build Service Account
938d84957a Merge "ASoC: msm8x16-wcd: guard enable/disable sequence in combo device" 2014-05-31 19:44:24 -07:00
Anish Kumar
f774ee400d ASoC: msm: qdsp6v2: Add support to improve debug logging
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>
2014-05-30 09:25:14 -07:00
Santosh Mardi
fe8945eb1a ASoC: msm8x16: do not disable mclk during device switch.
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>
2014-05-30 19:56:14 +05:30
Santosh Mardi
731e20def2 ARM: msm: dts: add external PA property to sound node.
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>
2014-05-30 19:55:21 +05:30
Santosh Mardi
fc6d1fe678 ASoC: msm: qdsp6v2: update platform driver for new SSR design.
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>
2014-05-30 19:54:20 +05:30
Santosh Mardi
bedce76764 ASoC: msm8x16-wcd: update for new Sub System Restart design.
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>
2014-05-30 19:53:09 +05:30