lkml.org 
[lkml]   [2021]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 3/3] ASoC: Intel: sof_rt5682: use id_alt to enumerate rt5682s
    On Wed, Oct 6, 2021 at 7:23 PM Brent Lu <brent.lu@intel.com> wrote:
    >
    > Use the id_alt field to enumerate rt5682s headphone codec and remove
    > redundant entries in tables.

    ...

    > +static struct snd_soc_acpi_codecs adl_rt5682s_hp = {
    > + .num_codecs = 1,
    > + .codecs = {"RTL5682"}

    Keeping commas in non-terminator entries is always good to avoid churn
    in the future.

    > +};

    ...

    > +static struct snd_soc_acpi_codecs rt5682s_hp = {
    > + .num_codecs = 1,
    > + .codecs = {"RTL5682"}

    Ditto.

    > +};

    ...

    > +static struct snd_soc_acpi_codecs rt5682s_hp = {
    > + .num_codecs = 1,
    > + .codecs = {"RTL5682"}

    Ditto.

    > +};

    ...

    > +static struct snd_soc_acpi_codecs rt5682s_hp = {
    > + .num_codecs = 1,
    > + .codecs = {"RTL5682"}

    Ditto.

    > +};

    ...

    > +static struct snd_soc_acpi_codecs rt5682s_hp = {
    > + .num_codecs = 1,
    > + .codecs = {"RTL5682"}

    Ditto.

    > +};

    ...and so on.

    --
    With Best Regards,
    Andy Shevchenko

    \
     
     \ /
      Last update: 2021-10-06 18:47    [W:2.935 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site