SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH 0/1 v2] spi: Re-do the returning value of rspi_dma_check_then_transfer
@ 2015-04-30  2:12 Cao Minh Hiep
  2015-04-30  2:12 ` [PATCH 1/1 " Cao Minh Hiep
  0 siblings, 1 reply; 4+ messages in thread
From: Cao Minh Hiep @ 2015-04-30  2:12 UTC (permalink / raw)
  To: geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ
  Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A, linux-spi-u79uwXL29TY76Z2rM5mHXA,
	kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ,
	yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ,
	ryusuke.sakato.bx-zM6kxYcvzFBBDgjK7y7TUQ,
	linux-sh-u79uwXL29TY76Z2rM5mHXA

From: Hiep Cao Minh <cm-hiep@jinso.co.jp>

Hi Mark
Hi Geert

This is version 2 of spi-Re-do-the-returning-value-of-rspi_dma_check_then_transfer patch.
I have tested it at linux Upstream Linux-4.0.0-10713-g6e24fd1 on Lager and Koelsch.
To reduce indentation and complexity of code, drop "ret" then function 
rspi_dma_check_then_transfer should be returning rspi_dma_transfer directly
after checking error.
Please consider the following patch for the Rcar-Gen2.

Hiep Cao Minh (1):
  spi: Re-do the returning value of rspi_dma_check_then_transfer

 drivers/spi/spi-rspi.c | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-08  1:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-30  2:12 [PATCH 0/1 v2] spi: Re-do the returning value of rspi_dma_check_then_transfer Cao Minh Hiep
2015-04-30  2:12 ` [PATCH 1/1 " Cao Minh Hiep
2015-05-07 12:57   ` Mark Brown
     [not found]     ` <20150507125744.GX15510-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-05-08  1:35       ` Cao Minh Hiep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox