diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-08-11 23:33:34 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-08-28 13:56:47 +0200 |
commit | 78c9be61c3a5cd9e2439fd27a5ffad73a81958c7 (patch) | |
tree | 3cc8c0ce0ebcc976cd06cc6351b43c7a70f46d33 /drivers | |
parent | ALSA: memalloc: Add non-cached buffer type (diff) | |
download | linux-78c9be61c3a5cd9e2439fd27a5ffad73a81958c7.tar.xz linux-78c9be61c3a5cd9e2439fd27a5ffad73a81958c7.zip |
ALSA: hda: Check the non-cached stream buffers more explicitly
Introduce a new flag, uc_buffer, to indicate that the controller
requires the non-cached pages for stream buffers, either as a
chip-specific requirement or specified via snoop=0 option.
This improves the code-readability.
Also, this patch fixes the incorrect behavior for C-Media chip where
the stream buffers were never handled as non-cached due to the check
of driver_type even if you pass snoop=0 option.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions