mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 16:30:53 +07:00
mpc52xx_spi: add missing mode_bits definition
V2 changes: * remove CS_HIGH mode Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
4a495b1c43
commit
d65aea99bd
@ -430,6 +430,8 @@ static int __devinit mpc52xx_spi_probe(struct of_device *op,
|
||||
master->num_chipselect = 1;
|
||||
master->setup = mpc52xx_spi_setup;
|
||||
master->transfer = mpc52xx_spi_transfer;
|
||||
master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST;
|
||||
|
||||
dev_set_drvdata(&op->dev, master);
|
||||
|
||||
ms = spi_master_get_devdata(master);
|
||||
|
Loading…
Reference in New Issue
Block a user