Re: [PATCH v1 08/12] i2c: isch: Use read_poll_timeout()
From: Andy Shevchenko
Date: Thu Sep 12 2024 - 11:35:57 EST
Thu, Sep 12, 2024 at 09:29:38AM +0200, Andi Shyti kirjoitti:
...
> > - sch_io_wr8(priv, SMBHSTSTS, temp);
> > + sch_io_wr8(priv, SMBHSTSTS, temp & 0x0f);
>
> there is still a dev_dbg() using temp. To be on the safe side, do
> we want to do a "temp &= 0x0f" after the read_poll_timeout?
Isn't it even better that we have more information in the debug output?
--
With Best Regards,
Andy Shevchenko