commit | c4824ae7db418aee6f50f308a20b832e58e997fd | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jul 20 11:26:40 2021 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Jul 20 11:28:23 2021 +0200 |
tree | e44ecc04808ee75535bf9ad70670b857949d1d11 | |
parent | 114613f62f42e7cbc1242c4e82076a0153043761 [diff] |
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: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210720092640.12338-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>