diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-05-19 20:22:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-05-25 23:34:47 +0200 |
commit | 9027c4639ef1e3254779e3033f229133222445f7 (patch) | |
tree | 93d246fb50663aa6c6db6e7a8b4f99b7fcfcf439 /sound/pcmcia | |
parent | 9ce7b9cf64dc1a48a074033a83c8ea314b38540c (diff) | |
download | linux-9027c4639ef1e3254779e3033f229133222445f7.tar.bz2 |
ALSA: pcm: Call ack() whenever appl_ptr is updated
Although the ack callback is supposed to be called at each appl_ptr or
hw_ptr update, we missed a few opportunities: namely, forward, rewind
and sync_ptr.
Formerly calling ack at rewind may have leaded to unexpected results
due to the forgotten negative appl_ptr update in indirect-PCM helper,
which is the major user of the PCM ack callback. But now we fixed
this oversights, thus we can call ack callback safely even at rewind
callback -- of course with the proper handling of the error from the
callback.
This patch adds the calls of ack callback in the places mentioned in
the above.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions