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:
parent
ccff91ae48
commit
bac41512cf
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue