summaryrefslogtreecommitdiffstats
path: root/sound/pci/sis7019.h
diff options
context:
space:
mode:
authorAlastair Bridgewater <alastair.bridgewater@gmail.com>2018-06-16 03:56:18 +0200
committerTakashi Iwai <tiwai@suse.de>2018-06-17 08:44:55 +0200
commit126b75e03894f3053b723130cb9b824e6f15d8e6 (patch)
tree810def04305efe7b93cefd47655f2ced83a0f04a /sound/pci/sis7019.h
parentALSA: hda/ca0132: Restore behavior of QUIRK_ALIENWARE (diff)
downloadlinux-126b75e03894f3053b723130cb9b824e6f15d8e6.tar.xz
linux-126b75e03894f3053b723130cb9b824e6f15d8e6.zip
ALSA: hda/ca0132: Don't test for QUIRK_NONE
QUIRK_NONE is, quite explicitly, the default case. The entire point of a quirks system is to allow "programming by difference" from a given base case, which requires that merely defining a new quirk for some piece of hardware should not change the behavior of the driver for that hardware. In turn, this means that testing for QUIRK_NONE explicitly is a violation of that implicit contract. Change a test for QUIRK_NONE and QUIRK_ALIENWARE to default, and add a test for QUIRK_SBZ to disable the default behavior in that instance. Signed-off-by: Alastair Bridgewater <alastair.bridgewater@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/sis7019.h')
0 files changed, 0 insertions, 0 deletions