Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: hda - Make a SND_HDA_PIN_QUIRK macro

This is cosmetical - it makes the new pin quirk table look better.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

David Henningsson and committed by
Takashi Iwai
a2d2fa02 7a52cd79

+21
+21
sound/pci/hda/hda_local.h
··· 417 417 int value; /* quirk value */ 418 418 }; 419 419 420 + #ifdef CONFIG_SND_DEBUG_VERBOSE 421 + 422 + #define SND_HDA_PIN_QUIRK(_codec, _subvendor, _name, _value, _pins...) \ 423 + { .codec = _codec,\ 424 + .subvendor = _subvendor,\ 425 + .name = _name,\ 426 + .value = _value,\ 427 + .pins = (const struct hda_pintbl[]) { _pins } \ 428 + } 429 + #else 430 + 431 + #define SND_HDA_PIN_QUIRK(_codec, _subvendor, _name, _value, _pins...) \ 432 + { .codec = _codec,\ 433 + .subvendor = _subvendor,\ 434 + .value = _value,\ 435 + .pins = (const struct hda_pintbl[]) { _pins } \ 436 + } 437 + 438 + #endif 439 + 440 + 420 441 /* fixup types */ 421 442 enum { 422 443 HDA_FIXUP_INVALID,