mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
spi/mips-lantiq: set SPI_MASTER_HALF_DUPLEX flag
Due to hardware limitations of the spi/flash frontend of the EBU we need to set the SPI_MASTER_HALF_DUPLEX flag. Signed-off-by: Thomas Langer <[email protected]> Signed-off-by: John Crispin <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
737a7c4380
commit
ec3eaeca91
1 changed files with 1 additions and 0 deletions
|
|
@ -423,6 +423,7 @@ static int falcon_sflash_probe(struct platform_device *pdev)
|
|||
|
||||
master->mode_bits = SPI_MODE_3;
|
||||
master->num_chipselect = 1;
|
||||
master->flags = SPI_MASTER_HALF_DUPLEX;
|
||||
master->bus_num = -1;
|
||||
master->setup = falcon_sflash_setup;
|
||||
master->prepare_transfer_hardware = falcon_sflash_prepare_xfer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue