]> Git Repo - linux.git/commit - sound/core/pcm_native.c
ALSA: pcm: Fix mmap capability check
authorTakashi Iwai <[email protected]>
Tue, 20 Jul 2021 09:26:40 +0000 (11:26 +0200)
committerTakashi Iwai <[email protected]>
Tue, 20 Jul 2021 09:28:23 +0000 (11:28 +0200)
commitc4824ae7db418aee6f50f308a20b832e58e997fd
treee44ecc04808ee75535bf9ad70670b857949d1d11
parent114613f62f42e7cbc1242c4e82076a0153043761
ALSA: pcm: Fix mmap capability check

The hw_support_mmap() doesn't cover all memory allocation types and
might use a wrong device pointer for checking the capability.
Check the all memory allocation types more completely.

Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
sound/core/pcm_native.c
This page took 0.049235 seconds and 4 git commands to generate.