[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190327224152.GA19245@kunai>
Date: Wed, 27 Mar 2019 23:41:52 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Ray Jui <ray.jui@...adcom.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
bcm-kernel-feedback-list@...adcom.com,
Rayagonda Kokatanur <rayagonda.kokatanur@...adcom.com>,
Shreesha Rajashekar <shreesha.rajashekar@...adcom.com>,
Michael Cheng <ccheng@...adcom.com>
Subject: Re: [PATCH v5 2/8] i2c: iproc: Add slave mode support
> > + /* flush TX/RX FIFOs */
> > + val = (BIT(S_FIFO_RX_FLUSH_SHIFT) | BIT(S_FIFO_TX_FLUSH_SHIFT));
> > + writel(val, iproc_i2c->base + S_FIFO_CTRL_OFFSET);
>
> Will flushing FIFOs work when a slave is register while a master
> transfer is on-going at the same time?
Sorry, my bad, this can't happen. Registering a slave is protected by
the adapter lock.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists