RE: [PATCH 1/2] ASoC: Intel: maxim-common: get codec number from ACPI

From: Lu, Brent
Date: Wed Jul 26 2023 - 02:17:32 EST



>
> size_t here or at least unsigned int is more correct.
>
> > for_each_acpi_dev_match(adev, hid, NULL, -1)
> > dev_num++;
> >
> > return dev_num;
> > }
>
> Otherwise, yes, that's what I have in mind.
>
> > Will test it in next few days.
>
> --
> With Best Regards,
> Andy Shevchenko
>

Thanks for the review. I've modified the v2 patch accordingly.

Regards,
Brent