OSDN Git Service

spi: spi-fsl-dspi: Add comments around dspi_pop_tx and dspi_push_rx functions
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 4 Mar 2020 22:00:36 +0000 (00:00 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2020 14:06:17 +0000 (14:06 +0000)
commit8f8303ee05857e1b3084c467dde8bb31c58464bd
treec4911808b8b49af3e8ac9a8467b67a489ff24288
parent5542bd797190d5d77f1ad3a6df9628f26d117b31
spi: spi-fsl-dspi: Add comments around dspi_pop_tx and dspi_push_rx functions

Their names are confusing, since dspi_pop_tx prepares a word to be
written to the PUSHR register, and dspi_push_rx gets a word from the
POPR register.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20200304220044.11193-5-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c