Skip to content
Commit 78c9be61 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 42e748a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment