diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-20 11:26:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-20 11:28:23 +0200 |
commit | c4824ae7db418aee6f50f308a20b832e58e997fd (patch) | |
tree | e44ecc04808ee75535bf9ad70670b857949d1d11 /drivers/mfd/sun4i-gpadc.c | |
parent | 114613f62f42e7cbc1242c4e82076a0153043761 (diff) | |
download | linux-c4824ae7db418aee6f50f308a20b832e58e997fd.tar.gz linux-c4824ae7db418aee6f50f308a20b832e58e997fd.tar.bz2 linux-c4824ae7db418aee6f50f308a20b832e58e997fd.zip |
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>
Diffstat (limited to 'drivers/mfd/sun4i-gpadc.c')
0 files changed, 0 insertions, 0 deletions