Hi,
This patchset is a supplement for merged patchset[1].
As I suggested[2], an added helper function is useful to some parts of PCM core module. Although it's better to replace existent code block with it, there's an issue to share it with several objects, because there is no header files for external symbols not exported to kernel space.
This patchset adds a header file for the module-local symbols, then adds calls of the function in several parts of the module.
[1] [alsa-devel] [PATCH 0/7] ALSA: Fix/improve PCM ack callback http://mailman.alsa-project.org/pipermail/alsa-devel/2017-May/120886.html [2] [alsa-devel] [PATCH 0/7] ALSA: Fix/improve PCM ack callback http://mailman.alsa-project.org/pipermail/alsa-devel/2017-May/120910.html
Takashi Sakamoto (2): ALSA: pcm: add local header file for snd-pcm module ALSA: pcm: add arrangement for applying appl_ptr
include/sound/pcm.h | 32 ----------------------------- sound/core/pcm.c | 2 ++ sound/core/pcm_lib.c | 14 +++++++------ sound/core/pcm_local.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ sound/core/pcm_misc.c | 3 +++ sound/core/pcm_native.c | 13 +++++++----- 6 files changed, 75 insertions(+), 43 deletions(-) create mode 100644 sound/core/pcm_local.h