[PATCH v2 1/1] i2c: ocores: fix polling mode workaround on FU540-C000 SoC

Sagar Kadam sagar.kadam at openfive.com
Mon Oct 12 11:49:21 EDT 2020


> -----Original Message-----
> From: Andreas Schwab <schwab at linux-m68k.org>
> Sent: Friday, October 9, 2020 11:55 PM
> To: Sagar Kadam <sagar.kadam at openfive.com>
> Cc: linux-kernel at vger.kernel.org; linux-riscv at lists.infradead.org; linux-
> i2c at vger.kernel.org; peter at korsgaard.com; andrew at lunn.ch; Paul
> Walmsley ( Sifive) <paul.walmsley at sifive.com>; palmer at dabbelt.com;
> aou at eecs.berkeley.edu
> Subject: Re: [PATCH v2 1/1] i2c: ocores: fix polling mode workaround on
> FU540-C000 SoC
> 
> [External Email] Do not click links or attachments unless you recognize the
> sender and know the content is safe
> 
> On Okt 09 2020, Sagar Shrikant Kadam wrote:
> 
> > diff --git a/drivers/i2c/busses/i2c-ocores.c
> > b/drivers/i2c/busses/i2c-ocores.c index f5fc75b..9b3d1ab 100644
> > --- a/drivers/i2c/busses/i2c-ocores.c
> > +++ b/drivers/i2c/busses/i2c-ocores.c
> > @@ -686,17 +686,21 @@ static int ocores_i2c_probe(struct
> > platform_device *pdev)
> >
> >       init_waitqueue_head(&i2c->wait);
> >
> > +     /*
> > +      * Set OCORES_FLAG_BROKEN_IRQ to enable workaround for
> > +      * FU540-C000 SoC in polling mode.
> > +      * Since the SoC does have interrupt it's dt has the interrupt
> 
> Typo: its
> 

Thanks Andreas,
I will submit v3 with the change.

BR,
Sagar
> Andreas.
> 
> --
> Andreas Schwab, schwab at linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA
> AEC1 "And now for something completely different."



More information about the linux-riscv mailing list