diff options
author | Hiep Cao Minh <cm-hiep@jinso.co.jp> | 2015-05-22 11:59:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-02 15:58:52 +0200 |
commit | a91bbe7d3fbc448dda9822467561e838cea005f8 (patch) | |
tree | 024bc4aa4cfd7c82a35dfd926456044bde2cf71c /drivers/spi/spi-rspi.c | |
parent | spi: rspi: Re-do the returning value of rspi_dma_check_then_transfer (diff) | |
download | linux-a91bbe7d3fbc448dda9822467561e838cea005f8.tar.xz linux-a91bbe7d3fbc448dda9822467561e838cea005f8.zip |
spi: rspi: modify the name of "qspi_trigger_transfer_out_int" function
The name of "qspi_trigger_transfer_out_int" function should be
"qspi_trigger_transfer_out_in" without "t".
Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
-rw-r--r-- | drivers/spi/spi-rspi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c index 568ea41625f5..45007236f992 100644 --- a/drivers/spi/spi-rspi.c +++ b/drivers/spi/spi-rspi.c @@ -721,7 +721,7 @@ static int rspi_rz_transfer_one(struct spi_master *master, return rspi_common_transfer(rspi, xfer); } -static int qspi_trigger_transfer_out_int(struct rspi_data *rspi, const u8 *tx, +static int qspi_trigger_transfer_out_in(struct rspi_data *rspi, const u8 *tx, u8 *rx, unsigned int len) { int i, n, ret; @@ -768,7 +768,7 @@ static int qspi_transfer_out_in(struct rspi_data *rspi, if (ret != -EAGAIN) return ret; - ret = qspi_trigger_transfer_out_int(rspi, xfer->tx_buf, + ret = qspi_trigger_transfer_out_in(rspi, xfer->tx_buf, xfer->rx_buf, xfer->len); if (ret < 0) return ret; |