[v8 3/4] ASoC: mediatek: mt8188-mt6359: add es8326 support

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Dec 12 01:38:20 PST 2023


Il 12/12/23 05:04, Rui Zhou ha scritto:
> Hi Angelo,
> Because the TDM interface defined by mt8188_max98390_ops sets a fixed 4
> slots, so if the current sound card only supports two amps, we need to skip
> this setting.
> By the way, do you think this comment is okay?
> /*
>   * The TDM protocol settings with fixed 4 slots are defined in
>   * mt8188_max98390_ops. Two amps is I2S mode,
>   * SOC and codec don't require TDM settings.
> */
> if (!(card_data->quirk & MAX98390_TWO_AMP)) {
> dai_link->ops = &mt8188_max98390_ops;
> }

That's perfect. Waiting for v9.

Cheers,
Angelo




More information about the Linux-mediatek mailing list