| Date | Wed, 28 Jun 2023 17:51:17 +0300 | From | Andy Shevchenko <> | Subject | Re: [RFC PATCH 6/8] ASoC: Intel: avs: Update PCI ID list |
| |
On Wed, Jun 28, 2023 at 10:51:33PM +0200, Amadeusz Sławiński wrote: > Use PCI device IDs from pci_ids.h header. Adjust AVS_MACH_ENTRY macro,
AVS_MACH_ENTRY()
> so device id can be provided in short form.
ID
...
> #define AVS_MACH_ENTRY(_id, _mach) \ > - { .id = (_id), .machs = (_mach), } > + { .id = PCI_DEVICE_ID_INTEL_HDA_##_id, .machs = (_mach), }
I would duplicate HDA in all entries below in order to be compatible with PCI_DEVICE_DATA() (logically, so if I grep for one, I grep exactly for everything after PCI_DEVICE_ID_INTEL_ prefix and these won't show up.
-- With Best Regards, Andy Shevchenko
|