commit | fd8d4e2d1f20e9a5dbbdb16ee9b594726a7c5a2d | [log] [tgz] |
---|---|---|
author | jiada wang <jiada_wang@mentor.com> | Thu Jun 08 14:16:00 2017 +0900 |
committer | Mark Brown <broonie@kernel.org> | Mon Jul 17 12:09:47 2017 +0100 |
tree | 73dc3126e084db0aeb749036c046368c02876ed6 | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 [diff] |
spi: imx: introduce fifo_size and has_dmamode in spi_imx_devtype_data Different ECSPI controller has different fifosize and DMA capability, instead of calling functions to identify these information by check devtype. add fifo_size and has_dmamode to spi_imx_devtype_data. so that these information can be directly accessed. Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>