diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-01-05 16:19:34 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-01-07 14:47:38 (GMT) |
commit | f240406babfe1526998e10583ea5eccc2676a433 (patch) | |
tree | 311f0dd33f0ec87bd0ac48d4871f67ad78b9ee36 /kernel/trace | |
parent | 4d96eb255c53ab5e39b37fd4d484ea3dc39ab456 (diff) | |
download | linux-fsl-qoriq-f240406babfe1526998e10583ea5eccc2676a433.tar.xz |
ALSA: pcm_lib - cleanup & merge hw_ptr update functions
Do general cleanup in snd_pcm_update_hw_ptr*() routines and merge them.
The main change is hw_ptr_interrupt variable removal to simplify code
logic. This variable can be computed directly from hw_ptr.
Ensure that updated hw_ptr is not lower than previous one (it was possible
with old code in some obscure situations when interrupt was delayed or
the lowlevel driver returns wrong ring buffer position value).
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions