commit | b64836a5718bdcce7b23dc06eb1f3a9620cf6214 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Aug 16 11:33:12 2017 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Aug 16 11:53:31 2017 +0100 |
tree | f8b9617638237af3508364ccbbf244f32cb8a0a1 | |
parent | e19b63cd3cb7ebf1ca73d9c4f58934149337ed24 [diff] |
spi: altera: Consolidate TX/RX data register access The patterns for accessing the TX/RX data registers is the same for the IRQ and non-IRQ paths. Consolidate the duplicated code into shared helper functions. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>