9
0
Fork 0

atmel_spi: drop setup during transfer

this need to be handle at framework and driver level

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-11-06 20:33:34 +01:00 committed by Sascha Hauer
parent ccff91ae48
commit bac41512cf
1 changed files with 0 additions and 5 deletions

View File

@ -322,11 +322,6 @@ static int atmel_spi_transfer(struct spi_device *spi, struct spi_message *mesg)
struct spi_transfer *t = NULL;
mesg->actual_length = 0;
ret = master->setup(spi);
if (ret < 0) {
dev_dbg(master->dev, "transfer: master setup failed\n");
return ret;
}
dev_dbg(master->dev, " csr0: %08x\n", spi_readl(as, CSR0));