diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-25 11:28:07 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-28 08:47:28 +0100 |
commit | 37e661ee10c6d0d1310c62b3d29ae9a63073ac5d (patch) | |
tree | 7e4d170a18685cc15dc8a7942dcb0fd00bb3a905 /sound/pci/es1938.c | |
parent | acf403ecc4155153e5e2c1640be90fc166e56ba7 (diff) | |
download | linux-37e661ee10c6d0d1310c62b3d29ae9a63073ac5d.tar.bz2 |
ALSA: hda - Add AZX_DCAPS_SNOOP_OFF (and refactor snoop setup)
Add a new driver_caps bit, AZX_DCAPS_SNOOP_OFF, to set the snoop off
as default. This new bit is used for the checks in
azx_check_snoop_available(). Most of case-switches are replaced with
the new dcaps in each entry.
While working on it, for avoiding to spend more bits, combine three
bits AZX_DCAPS_SNOOP_SCH, AZX_DCAPS_SNOOP_ATI and
AZX_DCAPS_SNOOP_NVIDIA bits into a flat type of two bits. This
reduces the bits usages, and assign AZX_DCAPS_OFF to this empty bit
now.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/es1938.c')
0 files changed, 0 insertions, 0 deletions