Skip to content

Commit

Permalink
spi/mips-lantiq: set SPI_MASTER_HALF_DUPLEX flag
Browse files Browse the repository at this point in the history
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 <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
John Crispin authored and Grant Likely committed Feb 5, 2013
1 parent 737a7c4 commit ec3eaec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/spi-falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec3eaec

Please sign in to comment.