mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
spi-imx: setup mode_bits we can handle
Signed-off-by: Sascha Hauer <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Cc: David Brownell <[email protected]> Cc: Guennadi Liakhovetski <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6c23e5d433
commit
3910f2cff9
1 changed files with 1 additions and 0 deletions
|
|
@ -545,6 +545,7 @@ static int __init spi_imx_probe(struct platform_device *pdev)
|
|||
spi_imx->bitbang.txrx_bufs = spi_imx_transfer;
|
||||
spi_imx->bitbang.master->setup = spi_imx_setup;
|
||||
spi_imx->bitbang.master->cleanup = spi_imx_cleanup;
|
||||
spi_imx->bitbang.master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH;
|
||||
|
||||
init_completion(&spi_imx->xfer_done);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue