android_kernel_google_msm/include/sound
Santosh Mardi dec3f44a64 ASoC: core: Update ALSA core to issue restart in underrun.
When compressed and pcm session is started the buffer pull will
Be from the DSP, in mmap mode for the scenario Hardware pointer
Is same as application pointer implies application has not filled the
Buffer to be send to DSP, and platform driver has to break and restart
The de queue process when the application has sufficient buffers.

When hardware pointer is same as application pointer it is an under run
Scenario where the ALSA framework has to trigger the under run and in HAL
The session has to re-prepare and re-triggered. based on the stop
Threshold, but in our system the stop threshold is INT_MAX which
Indicates that under run is not triggered in practical cases.

We have a brodcast usecase in which the mentioned under run case
Is hit mulitple times, and every time re-prepare and re-trigger will be
Expensive

Update the ASoC core framework to restart de queue process stopped
By platform Driver when the under run is hit, based on the available
Buffer and render flag, so the System will recover from the hang state.

To restart de queue process the ASoC core will be calling the restart
Callback registered by platform driver and this callback will be running in
Atomic context.

Change-Id: Ic9ea05a0dc6246346e9913493232882e2f5447d1
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2013-03-07 15:21:54 -08:00
..
ac97_codec.h Fix common misspellings 2011-03-31 11:26:23 -03:00
aci.h
ad1816a.h
ad1843.h
adau1373.h ASoC: Add ADAU1373 codec support 2011-08-17 00:53:54 +09:00
ak4xxx-adda.h
ak4113.h
ak4114.h
ak4117.h
ak4531_codec.h
ak4641.h ASoC: Asahi Kasei AK4641 codec driver 2011-05-19 14:10:45 -07:00
alc5623.h ASoC: add support for alc562[123] codecs 2010-10-21 13:51:13 -07:00
apr_audio-v2.h msm: q6dspv2: Add slimbus data path support 2013-02-27 18:17:57 -08:00
apr_audio.h ASoc: msm: Add amr-wb/wb+ tunnel playback support 2013-03-07 15:21:29 -08:00
asequencer.h
asound.h ALSA: control: add support for ENUMERATED user space controls 2011-10-09 09:09:11 +02:00
asound_fm.h
asoundef.h
atmel-abdac.h
atmel-ac97c.h
compress_driver.h ALSA: core: add API header and driver header files 2011-12-23 10:08:11 +01:00
compress_offload.h ASoC: msm: Add compressed TX support 2013-02-27 18:13:35 -08:00
compress_params.h ASoC: msm: Add support for meta data in compressed TX 2013-02-27 18:16:45 -08:00
control.h ASLA: sound: Add support for compressed formats 2013-02-25 11:41:19 -08:00
core.h ALSA: hda - hide HDMI/ELD printks unless snd.debug=2 2012-04-10 14:53:55 +02:00
cs46xx.h
cs46xx_dsp_scb_types.h
cs46xx_dsp_spos.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cs46xx_dsp_task_types.h
cs4231-regs.h
cs4271.h ASoC: CS4271: Move Chip Select control out of the CODEC code. 2011-02-08 11:26:14 +00:00
cs8403.h
cs8427.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
dai.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
dmaengine_pcm.h ASoC: Add dmaengine PCM helper functions 2012-03-02 13:47:25 +00:00
emu10k1.h ALSA: emu10k1: Fix warning: "CCR" redefined 2010-10-18 07:45:44 +02:00
emu10k1_synth.h
emu8000.h
emu8000_reg.h
emux_legacy.h
emux_synth.h
es1688.h ALSA: Merge es1688 and es968 drivers 2010-05-10 09:49:30 +02:00
gus.h
hda_hwdep.h
hdsp.h ALSA: hdsp - Add support for RPM io box 2010-12-01 12:14:47 +01:00
hdspm.h Fix common misspellings 2011-03-31 11:26:23 -03:00
hwdep.h
i2c.h
info.h switch procfs to umode_t use 2012-01-03 22:54:56 -05:00
initval.h sound: irq: Remove IRQF_DISABLED 2011-09-22 11:19:20 +02:00
jack.h ALSA: Extend sound jack to support upto 8 key events. 2013-03-07 15:18:06 -08:00
Kbuild sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
l3.h
max9768.h ASoC: max9768: add driver for max9768 amplifier 2012-01-30 21:50:55 +00:00
max98088.h ASoC: Restore MAX98088 CODEC driver 2010-10-18 16:46:27 -07:00
max98095.h ASoC: Add EQ and filter to max98095 CODEC driver 2011-04-20 13:50:41 +01:00
memalloc.h
minors.h ALSA: core: add support for compressed devices 2011-12-23 10:07:46 +01:00
mixer_oss.h ALSA: core: sparse cleanups 2011-02-14 17:10:11 +01:00
mpu401.h ALSA: mpu401: clean up interrupt specification 2011-09-14 11:00:51 +02:00
msm-dai-q6-v2.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
msm-dai-q6.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
omap-abe-dsp.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
opl3.h
opl4.h
pcm-indirect.h
pcm.h ASoC: core: Update ALSA core to issue restart in underrun. 2013-03-07 15:21:54 -08:00
pcm_oss.h
pcm_params.h ALSA: Make pcm.h self-contained 2011-07-26 17:21:24 +02:00
pt2258.h
pxa2xx-lib.h
q6adm-v2.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
q6adm.h ASoc: msm: Add low latency playback and recording support. 2013-02-27 18:21:33 -08:00
q6afe-v2.h ASoC: msm8974: fall back to have AFE port started at prepare 2013-03-07 15:21:28 -08:00
q6afe.h ASoC: msm: fall back to have AFE port started at prepare 2013-02-27 18:15:19 -08:00
q6asm-v2.h ASoC: msm: include msm-specific ion header. 2013-03-07 15:17:54 -08:00
q6asm.h ASoc: msm: Add amr-wb/wb+ tunnel playback support 2013-03-07 15:21:29 -08:00
q6audio-v2.h sound: Add MSM sound drivers 2013-02-25 11:41:24 -08:00
rawmidi.h ALSA: rawmidi - Use workq for event handling 2011-06-14 14:37:06 +02:00
s3c24xx_uda134x.h
saif.h ASoC: mxs-saif: remove function in platform_data 2011-12-02 13:56:42 +08:00
sb.h
sb16_csp.h ALSA: sb16 - Fix build errors on MIPS and others with 13bit ioctl size 2011-06-30 15:33:57 +02:00
seq_device.h
seq_kernel.h treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
seq_midi_emul.h
seq_midi_event.h
seq_oss.h
seq_oss_legacy.h
seq_virmidi.h
sfnt_info.h
sh_dac_audio.h
sh_fsi.h ASoC: fsi: Add DMAEngine support 2012-02-19 18:36:16 -08:00
snd_wavefront.h
soc-dai.h ASoc: soc-pcm: Open/close share channel once if it is used by two streams 2013-02-27 18:12:17 -08:00
soc-dapm.h ASoC: update the connected widgets functionality 2013-02-25 11:41:16 -08:00
soc-dpcm.h ASoC: dpcm: Add Dynamic PCM core operations. 2013-02-25 11:41:10 -08:00
soc.h ALSA: jack: Reduce delay in jack status notification 2013-02-25 11:41:19 -08:00
soundfont.h treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
sta32x.h ASoC: sta32x: add workaround for ESD reset issue 2011-11-14 21:36:43 +00:00
tea575x-tuner.h [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
tea6330t.h
timer.h
tlv.h ALSA: tlv - Define numbers in sound/tlv.h 2010-10-17 10:46:14 +02:00
tlv320aic3x.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
tlv320aic32x4.h ASoC: Add TI tlv320aic32x4 codec support. 2011-03-04 18:21:08 +00:00
tlv320dac33-plat.h ASoC: tlv320dac33: Update e-mail address 2011-05-11 16:12:35 +01:00
tpa2028d.h audio : enable tpa2028d 2013-03-04 09:11:49 -08:00
tpa6130a2-plat.h ASoC: tpa6130a2: Remove model_id from platform data 2011-09-21 16:07:45 +01:00
trident.h
uda134x.h ASoC: uda134x: replace a macro with a value in platform struct. 2010-06-25 12:29:01 +01:00
uda1380.h
util_mem.h
version.h ALSA: Release v1.0.25 2012-01-25 10:19:35 +01:00
vx_core.h
wavefront.h
wm1250-ev1.h ASoC: Add platform data for WM1250 EV1 GPIOs 2011-09-23 17:05:38 +01:00
wm2000.h
wm2200.h ASoC: wm2200: Add WM2200 CODEC driver 2012-01-26 16:07:55 +00:00
wm5100.h ASoC: Add WM5100 driver 2011-09-20 16:02:16 +01:00
wm8903.h ASoC: WM8903: Fix platform data gpio_cfg confusion 2011-12-06 10:29:22 +00:00
wm8904.h
wm8955.h
wm8960.h
wm8962.h ASoC: wm8962: Optimise power consumption for IN4 DC measurement usage 2012-01-24 21:19:45 +00:00
wm8993.h
wm8996.h ASoC: Rename WM8915 to WM8996 2011-08-08 14:30:37 +09:00
wm9081.h ASoC: Add platform data for WM9081 IRQ pin configuration 2011-03-01 23:30:53 +00:00
wm9090.h
wss.h
ymfpci.h ALSA: ymfpci - Fix legacy registers on S3/S4 resume 2012-03-13 08:12:33 +01:00