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

From: Liao, Bard
Date: Wed Jul 26 2023 - 07:25:42 EST



On 7/26/2023 4:47 PM, Liao, Bard wrote:
;
  -    /* add regular speakers dapm route */
-    ret = snd_soc_dapm_add_routes(&card->dapm, max_98390_dapm_routes,
-                      ARRAY_SIZE(max_98390_dapm_routes));

Don't we need to add max_98390_dapm_routes for the 4 speakers case?

Please ignore this comment. I didn't notice that it is a fallthrough not

break in the end of case 4.