android_kernel_google_msm/include
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
..
acpi
asm-generic common: add dma_mmap_from_coherent() function 2013-02-27 18:21:21 -08:00
crypto
drm include: drm: 160d42d5 Contribution Fix 2013-02-25 11:40:25 -08:00
keys
linux mmc: core: Fixup broken suspend and eMMC4.5 power off notify 2013-03-07 15:21:53 -08:00
math-emu
media msm: camera: Dynamically register domain and attach to device. 2013-03-07 15:21:26 -08:00
misc
mtd
net net: sched: export an api to enable/disable flow on sch 2013-03-07 15:20:04 -08:00
pcmcia
rdma
rxrpc
scsi
sound ASoC: core: Update ALSA core to issue restart in underrun. 2013-03-07 15:21:54 -08:00
target target: Rename target_allocate_tasks to target_setup_cmd_from_cdb 2013-02-27 18:12:37 -08:00
trace trace: power: add cpu_frequency_switch_{start, end} 2013-03-07 15:20:00 -08:00
video
xen
Kbuild Add snapshot of mach-msm from beginning of msm-3.4 2013-02-27 18:09:25 -08:00