Re: [PATCH 03/13] ALSA: hda: Add controller matching macros

From: Amadeusz Sławiński
Date: Wed Jul 12 2023 - 06:54:41 EST


On 7/11/2023 3:36 PM, Andy Shevchenko wrote:
+#define HDA_CONTROLLER_IN_GPU(pci) (HDA_CONTROLLER_IS_HSW(pci) || \
+ pci_match_id((struct pci_device_id []){ \
I think if you start with pci_match_id() and move HDA_CONTROLLER_IS_HSW() at
the end it will make this macro aligned with the rest, so easier to get them
all at once.


Ack.