diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-06-27 11:54:37 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-27 13:56:03 +0200 |
commit | b602aa8eb1a0f52f0f9a09728b3b1c9133136656 (patch) | |
tree | fc4cb31166644316033d0a8f350a0a2b83148839 /sound/synth | |
parent | 4b671f57747468d7c810caaf955f79ff1aece4d4 (diff) | |
download | linux-b602aa8eb1a0f52f0f9a09728b3b1c9133136656.tar.gz linux-b602aa8eb1a0f52f0f9a09728b3b1c9133136656.tar.bz2 linux-b602aa8eb1a0f52f0f9a09728b3b1c9133136656.zip |
ALSA: pcm: Disable only control mmap for explicit appl_ptr sync
Now that user-space (typically alsa-lib) can specify which protocol
version it supports, we can optimize the kernel code depending on the
reported protocol version.
In this patch, we change the previous hack for enforcing the appl_ptr
sync by disabling status/control mmap. Instead of forcibly disabling
both mmaps, we disable only the control mmap when user-space declares
the supported protocol version new enough. For older user-space,
still both PCM status and control mmaps are disabled when requested by
the driver due to the compatibility reason.
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions