linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 v2] spi: Re-do correctly function name and 'ret' return value
@ 2015-04-28  5:55 Cao Minh Hiep
       [not found] ` <1430200551-20708-1-git-send-email-cm-hiep-HEF513clHfp3+QwDJ9on6Q@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Cao Minh Hiep @ 2015-04-28  5:55 UTC (permalink / raw)
  To: geert+renesas
  Cc: broonie, linux-spi, kuninori.morimoto.gx, yoshihiro.shimoda.uh,
	ryusuke.sakato.bx, linux-sh

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

Hi Mark
Hi Geert

I have splitted the patch that I sent you last week in 3 separate patches.
To re-do correctly function name and returning value.
qspi_trigger_transfer_out_int function should be qspi_trigger_transfer_out_in
without "t". 
To reduce indentation and complex of code, drop "ret" then function 
rspi_dma_check_then_transfer should be returned rspi_dma_transfer directly
after checking error.
And It just returns the value of qspi_trigger_transfer_out_in() in qspi_transfer_out_in().
These patches has been tested at linux Upstream v4.0.0-10712-g27cf3a1 on Lager.
Please consider the following patches for the Rcar-Gen2.

Hiep Cao Minh (3):
  spi: Re-do the returning value of rspi_dma_check_then_transfer
  spi: modify the name of qspi_trigger_transfer_out_int function
  spi: Re-do the returning value of qspi_transfer_out_in

 drivers/spi/spi-rspi.c | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2015-04-30  0:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28  5:55 [PATCH 0/3 v2] spi: Re-do correctly function name and 'ret' return value Cao Minh Hiep
     [not found] ` <1430200551-20708-1-git-send-email-cm-hiep-HEF513clHfp3+QwDJ9on6Q@public.gmane.org>
2015-04-28  5:55   ` [PATCH 1/3] spi: Re-do the returning value of rspi_dma_check_then_transfer Cao Minh Hiep
2015-04-28  9:02     ` Geert Uytterhoeven
     [not found]       ` <CAMuHMdU8fHW9SCHPTpjwQMfsQc7Qn3F29-P2tsi_j-4Pjp_QCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-30  0:26         ` Cao Minh Hiep
     [not found]     ` <1430200551-20708-2-git-send-email-cm-hiep-HEF513clHfp3+QwDJ9on6Q@public.gmane.org>
2015-04-28 11:45       ` Sergei Shtylyov
     [not found]         ` <553F72F1.9010300-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2015-04-30  0:33           ` Cao Minh Hiep
2015-04-28  5:55   ` [PATCH 2/3] spi: modify the name of qspi_trigger_transfer_out_int function Cao Minh Hiep
     [not found]     ` <1430200551-20708-3-git-send-email-cm-hiep-HEF513clHfp3+QwDJ9on6Q@public.gmane.org>
2015-04-28 11:07       ` Geert Uytterhoeven
2015-04-30  0:27         ` Cao Minh Hiep
2015-04-28  5:55   ` [PATCH 3/3] spi: Re-do the returning value of qspi_transfer_out_in Cao Minh Hiep
2015-04-28 11:07     ` Geert Uytterhoeven
2015-04-30  0:28       ` 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;
as well as URLs for NNTP newsgroup(s).