Thread (13 messages) 13 messages, 4 authors, 2021-10-19

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

flat view

From: Andy Shevchenko <hidden>
Date: 2021-10-18 15:09:37
Also in: alsa-devel, platform-driver-x86

On Mon, Oct 18, 2021 at 6:03 PM Andy Shevchenko
[off-list ref] wrote:
On Mon, Oct 18, 2021 at 5:33 PM Hans de Goede [off-list ref] wrote:
...
quoted
+       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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help