From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Fri, 10 Jan 2014 00:49:09 +0000 Subject: Re: [PATCH 2/2] spi: rspi: Fix typo when clearing SPSR_OVRF Message-Id: <20140110004909.GB22965@verge.net.au> List-Id: References: <1387823664-32318-1-git-send-email-geert+renesas@linux-m68k.org> <1387823664-32318-2-git-send-email-geert+renesas@linux-m68k.org> <20131224025936.GF22401@verge.net.au> <20131227021639.GD9184@verge.net.au> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Geert Uytterhoeven Cc: Geert Uytterhoeven , Mark Brown , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-sh list , Magnus Damm On Thu, Jan 09, 2014 at 10:41:55AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Fri, Dec 27, 2013 at 3:16 AM, Simon Horman wrote: > > On Tue, Dec 24, 2013 at 10:26:17AM +0100, Geert Uytterhoeven wrote: > >> On Tue, Dec 24, 2013 at 3:59 AM, Simon Horman wrote: > >> > On Mon, Dec 23, 2013 at 07:34:24PM +0100, Geert Uytterhoeven wrote: > >> >> The overrun flag should be cleared in the SPI Status Register, not in the > >> >> SPI Control Register, based on the SDK sample code. > >> >> > >> >> Signed-off-by: Geert Uytterhoeven > >> > >> The issue is quite obvious: after clearing the bit, the new value should > >> be written back to the same register. > >> > >> However, the fix is not in a v3.10-rc6 version I saw, so this may matter > >> for LTSI. > > > > I believe that the LTSI-3.10 work from Renesas (so far mainly me) is > > independent of the sample code at the link above. So unless this fix ends > > up in v3.10 -stable, which should feed into LTSI-3.10, then it will need to > > be submitted to LTSI (probably be me or you) if we want it to be in LTSI. > > According to the documentation, this bit is valid only in SPI slave mode. > As Linux supports SPI master mode only, this looks like a purely cosmetical > issue to me, so it doesn't warrant applying to -stable or LTSI-3.10. Thanks for the clarification.