[PATCH 2/3] platform/x86: intel_int0002_vgpio: Use the new soc_intel_is_byt/cht helpers

Andy Shevchenko andy.shevchenko at gmail.com
Mon Oct 18 17:08:18 CEST 2021


On Mon, Oct 18, 2021 at 6:03 PM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Mon, Oct 18, 2021 at 5:33 PM Hans de Goede <hdegoede at redhat.com> wrote:

...

> > +       if (!soc_intel_is_byt() && !soc_intel_is_cht())
>
>   if (!(soc_intel_is_byt() || soc_intel_is_cht()))
>
> ?

Self-nak on this. && is slightly better in case we got the first
argument false. Proposed variant will always evaluate both.

-- 
With Best Regards,
Andy Shevchenko


More information about the Alsa-devel mailing list